[FFmpeg-devel] [libav-devel] [PATCH 3/3] nutdec: abort if EOF is reached in decode_info_header/read_sm_data
andreas.cadhalpun at googlemail.com
Wed May 20 19:15:10 CEST 2015
On 20.05.2015 16:58, Luca Barbato wrote:
> On 20/05/15 16:35, Andreas Cadhalpun wrote:
>> On 20.05.2015 03:46, Michael Niedermayer wrote:
>>> this could check the return code from get_str()
>>> which would return failure on EOF already i think
>>> that would be slightly simpler
>> No, get_str only fails if len > maxlen, which is not necessarily
>> the case on EOF.
> I think the idea is to embed in get_str the eof check and check its
> result then.
Michael did that , so attached is a patch relying on this.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2062 bytes
Desc: not available
More information about the ffmpeg-devel