mpegvideo: clear overread in clear_context
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Sat, 14 Nov 2015 21:46:46 +0000 (22:46 +0100)
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Sun, 15 Nov 2015 09:26:48 +0000 (10:26 +0100)
commit6a69a175e7b5c5393528ed0f5753e41573fa0df2
tree1feb1397eb970f370b8e767adf31110004284693
parent0cdc77f1040c2c7eb9331b43a7f371ab60396b2a
mpegvideo: clear overread in clear_context

Otherwise the h263p decoder can try to copy overread bytes, even though
buffer is NULL.

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
libavcodec/mpegvideo.c