summaryrefslogtreecommitdiff
path: root/libavformat/avidec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-03-27 01:18:16 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-03-27 01:18:16 +0000
commit61559562f52f9cfaf050500342c5bbba9ece3ce9 (patch)
tree623d474cb61dbf66be8d4bbfb9be58aa0c9b9d5c /libavformat/avidec.c
parent509fdb0b7e64624c6e0eb20d31f6467afa438781 (diff)
Fix aspect ratio.
fixes issue404 avienc.c change by StevieS Originally committed as revision 12601 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avidec.c')
-rw-r--r--libavformat/avidec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/avidec.c b/libavformat/avidec.c
index fdd796c55a..e338ddbb7c 100644
--- a/libavformat/avidec.c
+++ b/libavformat/avidec.c
@@ -538,8 +538,8 @@ static int avi_read_header(AVFormatContext *s, AVFormatParameters *ap)
get_le32(pb);
get_le32(pb);
- active_aspect.num= get_le16(pb);
active_aspect.den= get_le16(pb);
+ active_aspect.num= get_le16(pb);
active.num = get_le32(pb);
active.den = get_le32(pb);
get_le32(pb); //nbFieldsPerFrame