[FFmpeg-devel] [PATCH 2/2] avformat/mxfdec: Error out on duplicated utf16 strings

Tomas Härdin tjoppen at acc.umu.se
Mon Jun 15 11:38:52 EEST 2020


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.

/Tomas



More information about the ffmpeg-devel mailing list