[FFmpeg-devel] [PATCH] lavf/mp3: Properly check return values of seeks and reads while reading the header
Derek Buitenhuis
derek.buitenhuis at gmail.com
Fri Feb 26 18:28:27 CET 2016
On 2/26/2016 5:14 PM, Derek Buitenhuis wrote:
> + ret = avio_read(pb, &header_buf[0], 4);
> + if (ret <= 0)
> + return CHECK_SEEK_FAILED;
This check should be <, not <=.
Changed locally.
- Derek
More information about the ffmpeg-devel
mailing list