[FFmpeg-devel] [PATCH] libavcodec: implementation of DNxUncompressed decoder

Michael Niedermayer michael at niedermayer.cc
Sat Sep 7 21:26:02 EEST 2024


On Thu, Sep 05, 2024 at 04:35:04AM +0200, Martin Schitter wrote:
> This is a second attempt to contribute the corrected code of an
> AVID DNxUncompressed / SMTPE RDD 50 decoder.
> 
> Thanks
> Martin
> 
> ---
>  Changelog                 |   1 +
>  doc/general_contents.texi |   1 +
>  libavcodec/Makefile       |   1 +
>  libavcodec/allcodecs.c    |   1 +
>  libavcodec/codec_desc.c   |   7 +
>  libavcodec/codec_id.h     |   1 +
>  libavcodec/dnxucdec.c     | 495 ++++++++++++++++++++++++++++++++++++++
>  libavcodec/parsers.c      |   1 +
>  libavcodec/version.c      |   2 +-
>  libavcodec/version.h      |   2 +-
>  libavformat/mxf.c         |   1 +
>  libavformat/mxfdec.c      |  21 ++
>  12 files changed, 532 insertions(+), 2 deletions(-)
>  create mode 100644 libavcodec/dnxucdec.c

fails build with --enable-small

libavcodec/dnxucdec.c:489:22: error: expected ‘}’ before string constant
  489 |     CODEC_LONG_NAME()"DNxUncompressed (SMPTE RDD 50)",
      |                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libavcodec/dnxucdec.c:487:34: note: to match this ‘{’
  487 | const FFCodec ff_dnxuc_decoder = {
      |                                  ^
libavcodec/dnxucdec.c:422:12: warning: ‘dnxuc_decode_frame’ defined but not used [-Wunused-function]
  422 | static int dnxuc_decode_frame(AVCodecContext *avctx, AVFrame *frame,
      |            ^~~~~~~~~~~~~~~~~~
libavcodec/dnxucdec.c:119:20: warning: ‘dnxuc_decode_init’ defined but not used [-Wunused-function]
  119 | static av_cold int dnxuc_decode_init(AVCodecContext *avctx){
      |                    ^~~~~~~~~~~~~~~~~
make: *** [ffbuild/common.mak:81: libavcodec/dnxucdec.o] Error 1
make: *** Waiting for unfinished jobs....

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

It is a danger to trust the dream we wish for rather than
the science we have, -- Dr. Kenneth Brown
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20240907/9e831bfb/attachment.sig>


More information about the ffmpeg-devel mailing list