diff options
author | James Almer <jamrial@gmail.com> | 2020-08-16 11:43:48 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2020-08-20 13:17:50 -0300 |
commit | c56d787fe3130593ca6e7851569e4e0d3524af04 (patch) | |
tree | 6bca693db3946e98e9d1928c6aef21231c14e5bc /libavcodec/decode.h | |
parent | 86f5fd471d35423e3bd5c9d2bd0076b14124faee (diff) | |
download | ffmpeg-c56d787fe3130593ca6e7851569e4e0d3524af04.tar.gz |
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.h | 5 |
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(). */ |