diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-08-24 20:44:24 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-08-24 20:59:58 +0400 |
commit | 7495186fd49f6c9e701e387c2669e3f39b8900ab (patch) | |
tree | 41333941d0b3cfc01c50538753156f532292a9cf /libavcodec/ituh263dec.c | |
parent | 6067186f3a76691bc2c825c40312dc12a7483c0e (diff) |
avcodec/h263dec: fix aspect of lead h263 EHC
Fixes part of ticket925
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/ituh263dec.c')
-rw-r--r-- | libavcodec/ituh263dec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/ituh263dec.c b/libavcodec/ituh263dec.c index 6d06a099e9..cd6ed4e620 100644 --- a/libavcodec/ituh263dec.c +++ b/libavcodec/ituh263dec.c @@ -1033,6 +1033,7 @@ int ff_h263_decode_picture_header(MpegEncContext *s) height = ff_h263_format[format][1]; s->avctx->sample_aspect_ratio= (AVRational){12,11}; } + s->avctx->sample_aspect_ratio.den <<= s->ehc_mode; if ((width == 0) || (height == 0)) return -1; s->width = width; |