[FFmpeg-devel] [PATCH v4 4/9] avformat/s337m: New ff_s337m_probe()

Nicolas Gaullier nicolas.gaullier at cji.paris
Mon Oct 5 13:48:14 EEST 2020


>> Similar to ff_spdif_probe() with just an additional checking of the 
>> bit resolution of the container as it may be 16 or 24 for s337m.
>
>Sorry if I miss something:
>Why is the new function part of s337m.c?

There is a call to static s337m_get_offset_and_codec() which is in s337m.c.
The muxer wavdec.c is the first to support it, but other muxers may come in the future, so the code must be shared.
And at the end, I don't see the point to possibly create a new s337mdec.c or so ?

Nicolas


More information about the ffmpeg-devel mailing list