mpegdec: fix redundant dummy frames issue of interlaced clips
authorZhong Li <zhong.li@intel.com>
Sat, 30 Sep 2017 03:22:57 +0000 (11:22 +0800)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 4 Oct 2017 00:16:11 +0000 (02:16 +0200)
commitfd7cb86468cc63b5bda203d74964584281318cda
tree5b3d24dc56a2a92d54e401764296b327ba003886
parent93d27e022fb1c0e74a34f9b2567e4dd5c2002297
mpegdec: fix redundant dummy frames issue of interlaced clips

It is to fix https://trac.ffmpeg.org/ticket/6677. Actucally it is a
regression of commit 99e07a4453732058df90885f80b3db3b4f37cb3c which
always inserts a dummy frame when decode the first key field picture.

Signed-off-by: Zhong Li <zhong.li@intel.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/mpegvideo.c