aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/avcodec.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2022-04-11 10:37:24 +0200
committerAnton Khirnov <anton@khirnov.net>2022-04-13 12:14:30 +0200
commit32413600e8d020fbab2c050c0b10b6e65533ddba (patch)
tree5bfaff09508df4dcbc0a90880652b95786f8150b /libavcodec/avcodec.c
parent1c01dca14471774b93a418127555d85ceb641333 (diff)
downloadffmpeg-32413600e8d020fbab2c050c0b10b6e65533ddba.tar.gz
lavc/encode: drop EncodeSimpleContext
It has only a single member.
Diffstat (limited to 'libavcodec/avcodec.c')
-rw-r--r--libavcodec/avcodec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/avcodec.c b/libavcodec/avcodec.c
index c7daa385e7..e0f38ac42a 100644
--- a/libavcodec/avcodec.c
+++ b/libavcodec/avcodec.c
@@ -432,7 +432,7 @@ void avcodec_flush_buffers(AVCodecContext *avctx)
while (av_fifo_read(avci->pkt_props, avci->last_pkt_props, 1) >= 0)
av_packet_unref(avci->last_pkt_props);
- av_frame_unref(avci->es.in_frame);
+ av_frame_unref(avci->in_frame);
av_packet_unref(avci->in_pkt);
if (HAVE_THREADS && avctx->active_thread_type & FF_THREAD_FRAME)
@@ -498,7 +498,7 @@ av_cold int avcodec_close(AVCodecContext *avctx)
av_packet_free(&avci->last_pkt_props);
av_packet_free(&avci->in_pkt);
- av_frame_free(&avci->es.in_frame);
+ av_frame_free(&avci->in_frame);
av_buffer_unref(&avci->pool);