[FFmpeg-devel] [PATCH 2/2] avcodec/dnxuc_parser: rework DNXUC parser

Marton Balint cus at passwd.hu
Mon Nov 25 23:26:52 EET 2024



On Fri, 22 Nov 2024, Anton Khirnov wrote:

> Quoting Marton Balint (2024-11-19 22:47:31)
>> The current parser does things which a parser should not, like skipping parts
>> of the packet header, but it does not actually able to packetize a raw DNXUC
>> bitstream.
>>
>> Rework the parser logic to work similar to other parsers and be able to
>> correctly packetize raw DNXUC bitstreams.
>>
>> Signed-off-by: Marton Balint <cus at passwd.hu>
>> ---
>>  libavcodec/dnxuc_parser.c | 122 ++++++++++++++------------------------
>>  1 file changed, 44 insertions(+), 78 deletions(-)
>
> Strictly speaking this is an API break as it changes the semantics of
> the codec ID. I suppose it's not a problem in practice as nobody is
> likely to be using it, but it probably deserves at least a minor bump.

Agreed, will push with a bump.

Thanks,
Marton


More information about the ffmpeg-devel mailing list