diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2003-10-15 15:37:25 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-10-15 15:37:25 +0000 |
commit | bcc7125e1d389e54b5772e766a2c354099544356 (patch) | |
tree | 016dfad0162def7a271014cb545d3bfd1d37080d /libavcodec/h263dec.c | |
parent | 4b6841057980d041ca807193f2562546280a58b6 (diff) | |
download | ffmpeg-bcc7125e1d389e54b5772e766a2c354099544356.tar.gz |
fix "first frame is no keyframe" bug
Originally committed as revision 2388 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h263dec.c')
-rw-r--r-- | libavcodec/h263dec.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c index 807d31118f..25025626f1 100644 --- a/libavcodec/h263dec.c +++ b/libavcodec/h263dec.c @@ -609,7 +609,10 @@ retry: if ( s->width != avctx->width || s->height != avctx->height || ABS(new_aspect - avctx->aspect_ratio) > 0.001) { /* H.263 could change picture size any time */ + ParseContext pc= s->parse_context; //FIXME move these demuxng hack to avformat + s->parse_context.buffer=0; MPV_common_end(s); + s->parse_context= pc; } if (!s->context_initialized) { avctx->width = s->width; |