[FFmpeg-cvslog] sierravmd: flip reduce arg order.

Michael Niedermayer git at videolan.org
Tue Oct 16 20:12:44 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Oct 16 20:03:37 2012 +0200| [24d6af0f7e5e152333d3caf8dee5e948e5c83b62] | committer: Michael Niedermayer

sierravmd: flip reduce arg order.

This should make no difference but might help static analyzers

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=24d6af0f7e5e152333d3caf8dee5e948e5c83b62
---

 libavformat/sierravmd.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/sierravmd.c b/libavformat/sierravmd.c
index 98aa5b8..a21ad1f 100644
--- a/libavformat/sierravmd.c
+++ b/libavformat/sierravmd.c
@@ -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);
     }



More information about the ffmpeg-cvslog mailing list