OSDN Git Service

mpeg4: support frame parameter changes with frame-mt
authorJanne Grunau <janne-libav@jannau.net>
Tue, 18 Sep 2012 13:48:14 +0000 (15:48 +0200)
committerJanne Grunau <janne-libav@jannau.net>
Wed, 19 Sep 2012 17:58:15 +0000 (19:58 +0200)
commit8701f4f8e8a7aa71c39f0917472d22bf6a1f0f43
tree8f8ba7cfff9d11c2754e740cf1f887d977af8f33
parent01fc5d6609e31539684785295d6c10b84d70b215
mpeg4: support frame parameter changes with frame-mt

Adds a flag context_reinit to MpegEncContext to relieable keep track
of frame parameter changes which require a context reinitialization.
This is required for broken inputs which change the frame size but
error out before the context can be reinitialized.
libavcodec/h263dec.c
libavcodec/mpeg4videodec.c
libavcodec/mpegvideo.c
libavcodec/mpegvideo.h