summaryrefslogtreecommitdiff
path: root/libavcodec/decode.h
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2020-08-16 11:43:48 -0300
committerJames Almer <jamrial@gmail.com>2020-08-20 13:17:50 -0300
commitc56d787fe3130593ca6e7851569e4e0d3524af04 (patch)
tree6bca693db3946e98e9d1928c6aef21231c14e5bc /libavcodec/decode.h
parent86f5fd471d35423e3bd5c9d2bd0076b14124faee (diff)
avcodec/decode: move the ff_decode_frame_props() prototype to the proper header
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/decode.h')
-rw-r--r--libavcodec/decode.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/decode.h b/libavcodec/decode.h
index 5565346f96..d4e3f5c5b5 100644
--- a/libavcodec/decode.h
+++ b/libavcodec/decode.h
@@ -65,6 +65,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().
*/