[FFmpeg-devel] [PATCH] avformat/mov: fix return code for trun box with no sample entries
Paul B Mahol
onemda at gmail.com
Mon Jul 22 10:20:08 EEST 2019
On 7/21/19, Gyan <ffmpeg at gyani.pro> wrote:
>
>
> On 21-07-2019 02:21 PM, Paul B Mahol wrote:
>> On 7/20/19, Gyan <ffmpeg at gyani.pro> wrote:
>>> Affected files can now be demuxed. Verified with John Stebbins. FATE
>>> passes.
>>>
>>> Gyan
>>>
>> You removed negative check, so not ok.
>
> entries is unsigned (in the code as well as in the standard). So the
> value read from file will be >= 0. Even after adjustment for index size
> overflow, it cannot become negative.
OK then
>
> Gyan
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-devel
mailing list