diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-02-26 21:38:50 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-03-21 01:52:51 +0100 |
commit | 0540d5c5fc1b573cac86c641c338ec1cb7a5e8ea (patch) | |
tree | 32fd08b52e5d5469437e8798c73f29d4753c7b2d /libavcodec/diracdsp.h | |
parent | 7f97231d97d56e4589795a0cea67ff24fb2d54ba (diff) | |
download | ffmpeg-0540d5c5fc1b573cac86c641c338ec1cb7a5e8ea.tar.gz |
avformat/bit: check that pkt->size is 10 in write_packet
Ohter packet sizes are not supported by this muxer.
This avoids a null pointer dereference of pkt->data.
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit eeda2c3de8a8484d9e7d1e47ac836bec850b31fc)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/diracdsp.h')
0 files changed, 0 insertions, 0 deletions