aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpegvideo.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/mpegvideo.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/mpegvideo.c')
-rw-r--r--libavcodec/mpegvideo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index 2759638494..7c866b794d 100644
--- a/libavcodec/mpegvideo.c
+++ b/libavcodec/mpegvideo.c
@@ -1128,7 +1128,7 @@ static void encode_picture(MpegEncContext *s, int picture_number)
}
}
- if (s->h263_msmpeg4)
+ if (s->h263_msmpeg4 && s->pict_type == I_TYPE)
msmpeg4_encode_ext_header(s);
//if (s->gob_number)