mpeg12: skip frames consistently
authorJanne Grunau <janne-libav@jannau.net>
Tue, 21 May 2013 08:40:01 +0000 (10:40 +0200)
committerJanne Grunau <janne-libav@jannau.net>
Tue, 28 May 2013 17:18:10 +0000 (19:18 +0200)
commitbf20cdbd86b13d474babecfea13682cc7c9ff2c7
tree44fec5a3df8efa63fe050b84b5b95c5d91ea6f3a
parent2d2d6a4883479403798f4ed46941d5b365823570
mpeg12: skip frames consistently

The decoder did not start predicted frames with missing references but
called the end of frame handling on them anyway. This caused an
assertion in the VA API HW accelorator since it tried to render a
picture with uninitialized buffers.
libavcodec/mpeg12dec.c