diff options
author | Janne Grunau <janne-libav@jannau.net> | 2012-01-03 18:11:36 +0100 |
---|---|---|
committer | Janne Grunau <janne-libav@jannau.net> | 2012-01-04 11:18:24 +0100 |
commit | a2d1d216291fd8c1f4a8b3bad4f0b50c084ba96d (patch) | |
tree | 4c14cc8bfe2ebfa3a6abe64315cddaa1836108b9 /libavformat/mov_chan.h | |
parent | d209c27b09234cc40bbdbd680aa502b493edf595 (diff) | |
download | ffmpeg-a2d1d216291fd8c1f4a8b3bad4f0b50c084ba96d.tar.gz |
avio: exit early in fill_buffer without read_packet
Fixes an invalid free() with ass in avi. The sample in bug 98 passes
parts of AVPacket.data as buffer for the AVIOContext. Since the packet
is quite large fill_buffer tries to reallocate the buffer before doing
nothing. Fixes bug 98.
Diffstat (limited to 'libavformat/mov_chan.h')
0 files changed, 0 insertions, 0 deletions