diff options
author | James Almer <jamrial@gmail.com> | 2021-03-05 01:01:08 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2021-03-07 11:21:57 -0300 |
commit | c063d556a8fa9dd4a019883939043c7825d45a7b (patch) | |
tree | 8fbe7cb9af2094d248d6fbcd91d00b3269aefa8c /libavcodec/codec.h | |
parent | 48e715c3fd4cd3d68f7ef43a04eb3f6beb12e30b (diff) | |
download | ffmpeg-c063d556a8fa9dd4a019883939043c7825d45a7b.tar.gz |
avcodec/codec: use the correct name for all AVCodec.decode() parameters
This field hasn't been used to return the output frame size since
avcodec_decode_audio4() was introduced.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/codec.h')
-rw-r--r-- | libavcodec/codec.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/codec.h b/libavcodec/codec.h index 3d7a1f4c26..f96372f77a 100644 --- a/libavcodec/codec.h +++ b/libavcodec/codec.h @@ -281,7 +281,8 @@ typedef struct AVCodec { */ int (*encode2)(struct AVCodecContext *avctx, struct AVPacket *avpkt, const struct AVFrame *frame, int *got_packet_ptr); - int (*decode)(struct AVCodecContext *, void *outdata, int *outdata_size, struct AVPacket *avpkt); + int (*decode)(struct AVCodecContext *avctx, void *outdata, + int *got_frame_ptr, struct AVPacket *avpkt); int (*close)(struct AVCodecContext *); /** * Encode API with decoupled frame/packet dataflow. This function is called |