[FFmpeg-devel] [PATCH 2/2] avformat/mxfdec: Error out on duplicated utf16 strings
Marton Balint
cus at passwd.hu
Mon Jun 15 22:45:56 EEST 2020
On Mon, 15 Jun 2020, Tomas Härdin wrote:
> sön 2020-06-14 klockan 20:19 +0200 skrev Marton Balint:
>>
>> On Sun, 14 Jun 2020, Michael Niedermayer wrote:
>>
>> > Alternatively we could free the already allocated element
>>
>> Yeah, I kind of prefer that, we potentially allow non-string values to
>> occur multiple times, so I'd say let's allow string values as well, even
>> if that is not common. (I am not sure if it is strictly invalid or just
>> uncommon).
>
> Are there files in the wild that do this? Being stricter is often the
> better option when it comes to MXF. A muxer that outputs metadata more
> than once might be doing something wrong.
I am not sure, but I wanted to be safe rather than sorry, because it is
not unusual in MXF to repeat certain metadata in the footer partition
which is already present in the header, and I did not want to take the
risk of rejecting a valid file.
Regards,
Marton
More information about the ffmpeg-devel
mailing list