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 00:49:08 +0100 |
commit | a21ec4e1ee5475000847572a35e19fad122acbe4 (patch) | |
tree | 52e0ab43eef2c5540d272bcbb758cc6aa4b9cef5 /doc/examples/transcoding.c | |
parent | 0c03d860f49aca335f7977ab5c8997c2ba28992a (diff) | |
download | ffmpeg-a21ec4e1ee5475000847572a35e19fad122acbe4.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/transcoding.c')
0 files changed, 0 insertions, 0 deletions