aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/decoding_encoding.c
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2016-01-02 16:27:02 +0100
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2016-01-28 01:20:17 +0100
commiteaba408421839bb2d385354aae12dc2520afbf04 (patch)
tree73ce09aebced2aa6ba2fde0244ff5a0d7f26b6ba /doc/examples/decoding_encoding.c
parenteadf932867fc5e11101e6cef8433f3fa19938163 (diff)
downloadffmpeg-eaba408421839bb2d385354aae12dc2520afbf04.tar.gz
ffmdec: reset packet_end in case of failure
This fixes segmentation faults caused by passing a packet_ptr of NULL to memcpy. Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> (cherry picked from commit 40eb2531b279abe008012c5c2c292552d3e62449) Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'doc/examples/decoding_encoding.c')
0 files changed, 0 insertions, 0 deletions