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

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer 2020-08-16 11:43:48 -03:00
parent 86f5fd471d
commit c56d787fe3
6 changed files with 9 additions and 5 deletions

View 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().

View 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.
*/

View 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"

View File

@ -34,6 +34,7 @@
#include <stdatomic.h>
#include "avcodec.h"
#include "decode.h"
#include "hwconfig.h"
#include "internal.h"
#include "libavutil/avassert.h"

View File

@ -36,6 +36,7 @@
#include <string.h>
#include "avcodec.h"
#include "decode.h"
#include "bytestream.h"
#include "internal.h"

View File

@ -26,6 +26,7 @@
#include "avcodec.h"
#include "bswapdsp.h"
#include "decode.h"
#include "get_bits.h"
#include "internal.h"
#include "raw.h"