[FFmpeg-devel] [PATCH] avformat/aacdec: fix demuxing of very small frames

James Almer jamrial at gmail.com
Mon May 6 03:42:56 EEST 2019


On 5/4/2019 6:41 PM, James Almer wrote:
> On 4/25/2019 7:04 PM, James Almer wrote:
>> 10 bytes (id3v2 header amount of bytes) were being read before any checks
>> were made on the bitstream. The result was that we were overreading into
>> the next frame if the current one was 8 or 9 bytes long.
>>
>> Fixes tickets #7271 and #7869.
>>
>> Signed-off-by: James Almer <jamrial at gmail.com>
>> ---
>>  libavformat/aacdec.c | 34 +++++++++++++++++++++-------------
>>  1 file changed, 21 insertions(+), 13 deletions(-)
> 
> Will push soon.

Pushed.


More information about the ffmpeg-devel mailing list