aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h263dec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2002-02-22 19:19:01 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-02-22 19:19:01 +0000
commit2b9ab1d54a35f7d689b2396cfc59f9dbdcae391f (patch)
tree0aeb308d9f489761f21ccfd90a136274763d8d2a /libavcodec/h263dec.c
parent81b7c056ee991c66add092a47a6a6a169d8d69d8 (diff)
downloadffmpeg-2b9ab1d54a35f7d689b2396cfc59f9dbdcae391f.tar.gz
fixing msmpeg4 decoding if fps < 16 (i thought it was a indicator for the ext header, its the fps indeed)
Originally committed as revision 313 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h263dec.c')
-rw-r--r--libavcodec/h263dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c
index ea628bf127..82ba258287 100644
--- a/libavcodec/h263dec.c
+++ b/libavcodec/h263dec.c
@@ -214,7 +214,7 @@ static int h263_decode_frame(AVCodecContext *avctx,
}
}
- if (s->h263_msmpeg4)
+ if (s->h263_msmpeg4 && s->pict_type==I_TYPE)
if(msmpeg4_decode_ext_header(s, buf_size) < 0) return -1;
MPV_frame_end(s);