mpegvideo: treat delayed pictures as used
authorJanne Grunau <janne-libav@jannau.net>
Wed, 12 Dec 2012 15:42:05 +0000 (16:42 +0100)
committerJanne Grunau <janne-libav@jannau.net>
Thu, 13 Dec 2012 20:02:42 +0000 (21:02 +0100)
commit6a27ae28f9bde981e85c82cf5bf42c5f43fb6f13
treed572b54b3b0cedc247f28dfc9fa2b94929c71483
parentbd255f9feb4deea4c990e582f0ba3b90d7b64b4c
mpegvideo: treat delayed pictures as used

This requires to move the avcodec_default_free_buffers() call to
ff_MPV_common_end() since otherwise delayed pictures would get freed
during a size change.
libavcodec/h264.h
libavcodec/mpegvideo.c
libavcodec/mpegvideo.h