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

Anton Khirnov anton at khirnov.net
Fri Nov 22 16:58:44 EET 2024


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.

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list