aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/sierravmd.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-10-16 20:03:37 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-10-16 20:03:37 +0200
commit24d6af0f7e5e152333d3caf8dee5e948e5c83b62 (patch)
treed6258bd55999d5a962c7f8ae08794bfe24e42de6 /libavformat/sierravmd.c
parentde6c150444159a26fe2555089d384ddd2d6459aa (diff)
downloadffmpeg-24d6af0f7e5e152333d3caf8dee5e948e5c83b62.tar.gz
sierravmd: flip reduce arg order.
This should make no difference but might help static analyzers Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/sierravmd.c')
-rw-r--r--libavformat/sierravmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/sierravmd.c b/libavformat/sierravmd.c
index 98aa5b8c09..a21ad1f1bc 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);
}