mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
sierravmd: flip reduce arg order.
This should make no difference but might help static analyzers Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
de6c150444
commit
24d6af0f7e
@ -148,7 +148,7 @@ static int vmd_read_header(AVFormatContext *s)
|
|||||||
/* calculate pts */
|
/* calculate pts */
|
||||||
num = st->codec->block_align;
|
num = st->codec->block_align;
|
||||||
den = st->codec->sample_rate * st->codec->channels;
|
den = st->codec->sample_rate * st->codec->channels;
|
||||||
av_reduce(&den, &num, den, num, (1UL<<31)-1);
|
av_reduce(&num, &den, num, den, (1UL<<31)-1);
|
||||||
avpriv_set_pts_info(vst, 33, num, den);
|
avpriv_set_pts_info(vst, 33, num, den);
|
||||||
avpriv_set_pts_info(st, 33, num, den);
|
avpriv_set_pts_info(st, 33, num, den);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user