[FFmpeg-devel] [PATCH] avformat/3dostr: Return directly after having read packet

Andreas Rheinhardt andreas.rheinhardt at gmail.com
Sat Aug 1 19:44:02 EEST 2020


Paul B Mahol:
> On 7/27/20, Andreas Rheinhardt <andreas.rheinhardt at gmail.com> wrote:
>> Paul B Mahol:
>>> Make sure this does not break demuxing/decoding.
>>>
>>
>> This patch is designed to not change the packets output by the demuxer
>> or the demuxer's return value at all. I have tested this with a small
>> sample created in a hex editor, but only demuxing (as the content of the
>> packet was garbage). I'd like to test this with a real sample, but
>> couldn't find one. Do you have one (after all, you wrote that demuxer)?
>>
> 
> Find it on web. It is used in old dos games, like DOOM.
> 

I have now tested this and the output is of course unchanged (as
expected). Will apply tomorrow unless there are objections.

- Andreas


More information about the ffmpeg-devel mailing list