[FFmpeg-devel] [PATCH]lavf/mov: Do not fail hard for more mov atoms

Carl Eugen Hoyos ceffmpeg at gmail.com
Mon Jan 14 13:46:08 EET 2019


2019-01-14 10:05 GMT+01:00, Michael Niedermayer <michael at niedermayer.cc>:
> On Sun, Jan 13, 2019 at 11:14:52PM +0100, Carl Eugen Hoyos wrote:
>> Hi!
>>
>> Attached patch fixes ticket #7679.
>>
>> Please comment, Carl Eugen
>
>>  mov.c |   12 ++++++------
>>  1 file changed, 6 insertions(+), 6 deletions(-)
>> a2759589f6ab06b09057969490ffc13291965144
>> 0001-lavf-mov-Do-not-fail-hard-for-more-invalid-atoms.patch
>> From ea6afa36d5ceb6e027176f051e7886f0648e3ac2 Mon Sep 17 00:00:00 2001
>> From: Carl Eugen Hoyos <ceffmpeg at gmail.com>
>> Date: Sun, 13 Jan 2019 23:07:06 +0100
>> Subject: [PATCH] lavf/mov: Do not fail hard for more invalid atoms.
>>
>> This is what several other players do and what FFmpeg already does for the
>> sidx atom.
>>
>> Fixes ticket #7679.
>> ---
>>  libavformat/mov.c |   12 ++++++------
>>  1 file changed, 6 insertions(+), 6 deletions(-)
>
> If a atom is ignored/discarded it should not have changed state of other
> things. This patch would break out after some fields are updated

Thank you, new patch attached.

Please review, Carl Eugen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lavf-mov-Do-not-fail-hard-for-more-invalid-atoms.patch
Type: text/x-patch
Size: 2541 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190114/f8c85a7c/attachment.bin>


More information about the ffmpeg-devel mailing list