]> git.sesse.net Git - ffmpeg/commitdiff
avcodec/decode: move the ff_decode_frame_props() prototype to the proper header
authorJames Almer <jamrial@gmail.com>
Sun, 16 Aug 2020 14:43:48 +0000 (11:43 -0300)
committerJames Almer <jamrial@gmail.com>
Thu, 20 Aug 2020 16:17:50 +0000 (13:17 -0300)
Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/decode.h
libavcodec/internal.h
libavcodec/libvpxdec.c
libavcodec/mmaldec.c
libavcodec/qtrle.c
libavcodec/rawdec.c

index 5565346f9623dff5c41d1b6718183df00a4034b1..d4e3f5c5b510c916491585d1d24d52e7894bf2f8 100644 (file)
@@ -64,6 +64,11 @@ typedef struct FrameDecodeData {
  */
 int ff_decode_get_packet(AVCodecContext *avctx, AVPacket *pkt);
 
+/**
+ * Set various frame properties from the codec context / packet data.
+ */
+int ff_decode_frame_props(AVCodecContext *avctx, AVFrame *frame);
+
 /**
  * Called during avcodec_open2() to initialize avctx->internal->bsf.
  * The bsf should be freed with av_bsf_free().
index 1c25aab6b99f05883d5c7640d041800de9cfb502..5d0e6e78318ac35c39603a21e30fc78137dae887 100644 (file)
@@ -353,11 +353,6 @@ int ff_side_data_update_matrix_encoding(AVFrame *frame,
  */
 int ff_get_format(AVCodecContext *avctx, const enum AVPixelFormat *fmt);
 
-/**
- * Set various frame properties from the codec context / packet data.
- */
-int ff_decode_frame_props(AVCodecContext *avctx, AVFrame *frame);
-
 /**
  * Add a CPB properties side data to an encoding context.
  */
index eddcea8941c82d585364065155fedc81ee120e0a..3e320446f8fcf718d4c0f53010c35d4db378a85c 100644 (file)
@@ -32,6 +32,7 @@
 #include "libavutil/imgutils.h"
 #include "libavutil/intreadwrite.h"
 #include "avcodec.h"
+#include "decode.h"
 #include "internal.h"
 #include "libvpx.h"
 #include "profiles.h"
index 547bece5763fc62af433e0fe5fe1b29b4585fa44..cd2b263a98472520cda0cf331dca790c2d5e4230 100644 (file)
@@ -34,6 +34,7 @@
 #include <stdatomic.h>
 
 #include "avcodec.h"
+#include "decode.h"
 #include "hwconfig.h"
 #include "internal.h"
 #include "libavutil/avassert.h"
index 52394f526404bf79a3910531f32b7a8a2e006bd2..6bdde75df464e9f725dd120a0fd91fce0f29a1b7 100644 (file)
@@ -36,6 +36,7 @@
 #include <string.h>
 
 #include "avcodec.h"
+#include "decode.h"
 #include "bytestream.h"
 #include "internal.h"
 
index a110a690f574c65a8f93bf0b98b564b26a40b475..26663cabc2f23a6c75cd24839c30c51eda886cc0 100644 (file)
@@ -26,6 +26,7 @@
 
 #include "avcodec.h"
 #include "bswapdsp.h"
+#include "decode.h"
 #include "get_bits.h"
 #include "internal.h"
 #include "raw.h"