OSDN Git Service

h261dec: Fix context initialization sequence
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 15 Aug 2014 00:50:41 +0000 (02:50 +0200)
committerMartin Storsjö <martin@martin.st>
Thu, 18 Dec 2014 21:10:24 +0000 (23:10 +0200)
commit3bb465245fed6069512e6821000391beae8a6066
tree00158bc8ac888ddb37dbbc4f702290f0fd62e258
parent91bfac759dfd536e439ad3e35964705012c6a5a7
h261dec: Fix context initialization sequence

ff_mpv_common_init sets s->context_initialized.

This fixes decoding of h261 in the cases where the demuxer
hasn't already set the frame size.

CC: libav-stable@libav.org
Signed-off-by: Martin Storsjö <martin@martin.st>
libavcodec/h261dec.c