diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-12-19 23:45:06 +0100 |
---|---|---|
committer | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-12-20 14:18:08 +0100 |
commit | 3219de21f4e9e9bcd09df9dbc5eab63492dd05a4 (patch) | |
tree | 5e46f80166bbda82791c0413e887dbaf1e4b9b38 /libavcodec/flac.h | |
parent | 93eda8dcbadfe375a7fe99592e4097c08deb06d1 (diff) | |
download | ffmpeg-3219de21f4e9e9bcd09df9dbc5eab63492dd05a4.tar.gz |
rawdec: only exempt BIT0 with need_copy from buffer sanity check
Otherwise the too small buffer is directly used in the frame, causing
segmentation faults, when trying to use the frame.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
(cherry picked from commit 699e68371ec7e381e5cc48e3d96e29c669261af7)
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libavcodec/flac.h')
0 files changed, 0 insertions, 0 deletions