diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2016-01-02 16:27:02 +0100 |
---|---|---|
committer | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2016-01-28 01:50:33 +0100 |
commit | 3b535bbf88576ee0b8a439052514cbb9e89e56a2 (patch) | |
tree | a4cc408300f0e3ce9708ec6a32914846e59016b4 /doc/examples/decoding_encoding.c | |
parent | bf446993145ae2e3bb440292255dadc735675b72 (diff) | |
download | ffmpeg-3b535bbf88576ee0b8a439052514cbb9e89e56a2.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