OSDN Git Service

sierravmd: flip reduce arg order.
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 16 Oct 2012 18:03:37 +0000 (20:03 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 16 Oct 2012 18:03:37 +0000 (20:03 +0200)
This should make no difference but might help static analyzers

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/sierravmd.c

index 98aa5b8..a21ad1f 100644 (file)
@@ -148,7 +148,7 @@ static int vmd_read_header(AVFormatContext *s)
         /* calculate pts */
         num = st->codec->block_align;
         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(st, 33, num, den);
     }