aboutsummaryrefslogtreecommitdiffstats
path: root/fftools/ffmpeg.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2022-08-25 10:01:19 +0200
committerAnton Khirnov <anton@khirnov.net>2022-08-29 15:42:11 +0200
commitd0f767f81f7b6c4e9a3d29a9fd622ab519461213 (patch)
treed24755835a37fe98c87cf1b9a4cc5ca6c0d86c5c /fftools/ffmpeg.h
parent4a4a206304e1d168e9a839d1a9c426e459343322 (diff)
downloadffmpeg-d0f767f81f7b6c4e9a3d29a9fd622ab519461213.tar.gz
fftools/ffmpeg: drop OutputStream.enc
It is either equal to OutputStream.enc_ctx->codec, or NULL when enc_ctx is NULL. Replace the use of enc with enc_ctx->codec, or the equivalent enc_ctx->codec_* fields where more convenient.
Diffstat (limited to 'fftools/ffmpeg.h')
-rw-r--r--fftools/ffmpeg.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h
index c461e93ff9..937a65b8e8 100644
--- a/fftools/ffmpeg.h
+++ b/fftools/ffmpeg.h
@@ -515,7 +515,6 @@ typedef struct OutputStream {
AVBSFContext *bsf_ctx;
AVCodecContext *enc_ctx;
- const AVCodec *enc;
int64_t max_frames;
AVFrame *filtered_frame;
AVFrame *last_frame;