On 29.03.2011 10:15, Anton Khirnov wrote:
From 93386fa5062b1d86249561d96b4e1aaa6a6200b2 Mon Sep 17 00:00:00 2001
From: anatoly<[email protected]>
Date: Mon, 28 Mar 2011 20:02:19 +0400
Subject: [PATCH 4/4] Add MxPEG decoder
diff --git a/libavcodec/mxpegdec.h b/libavcodec/mxpegdec.h
new file mode 100644
index 0000000..9886c64
[...]
+
+int ff_mxpeg_decode_init(AVCodecContext *avctx);
+int ff_mxpeg_decode_end(AVCodecContext *avctx);
+int ff_mxpeg_decode_frame(AVCodecContext *avctx,
+ void *data, int *data_size,
+ AVPacket *avpkt);
+
What's the point of this header? I don't see those functions used
anywhere.
Ask this question to Diego. It was done due to his comment:
On 28.03.2011 01:04, Diego Biurrun wrote:
+#include "mjpeg.h"
+#include "mjpegdec.h"
+
+int ff_mxpeg_decode_init(AVCodecContext *avctx);
+int ff_mxpeg_decode_end(AVCodecContext *avctx);
+int ff_mxpeg_decode_frame(AVCodecContext *avctx,
+ void *data, int *data_size,
+ AVPacket *avpkt);
These forward declarations must be replaced by the appropriate #include.
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel