Commit c56d787f authored by James Almer's avatar James Almer

avcodec/decode: move the ff_decode_frame_props() prototype to the proper header

Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
parent 86f5fd47
......@@ -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().
......
......@@ -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.
*/
......
......@@ -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"
......
......@@ -34,6 +34,7 @@
#include <stdatomic.h>
#include "avcodec.h"
#include "decode.h"
#include "hwconfig.h"
#include "internal.h"
#include "libavutil/avassert.h"
......
......@@ -36,6 +36,7 @@
#include <string.h>
#include "avcodec.h"
#include "decode.h"
#include "bytestream.h"
#include "internal.h"
......
......@@ -26,6 +26,7 @@
#include "avcodec.h"
#include "bswapdsp.h"
#include "decode.h"
#include "get_bits.h"
#include "internal.h"
#include "raw.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment