aboutsummaryrefslogtreecommitdiffstats
path: root/fftools/ffmpeg.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2023-01-29 12:35:47 +0100
committerAnton Khirnov <anton@khirnov.net>2023-02-20 19:22:22 +0100
commitcd4cd95d5e1cf87f5c0e525fd45d250832c027e9 (patch)
tree6a59b2611ca99871c8c68d279c596c0254e12255 /fftools/ffmpeg.h
parente16b874b6a7391da08a844d1f5b9714195d1842b (diff)
downloadffmpeg-cd4cd95d5e1cf87f5c0e525fd45d250832c027e9.tar.gz
fftools/ffmpeg_demux: add an AVClass to Demuxer/InputFile
Use it for logging. This makes log messages related to this input file more consistent.
Diffstat (limited to 'fftools/ffmpeg.h')
-rw-r--r--fftools/ffmpeg.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h
index f1412f6446..c657f55911 100644
--- a/fftools/ffmpeg.h
+++ b/fftools/ffmpeg.h
@@ -448,6 +448,8 @@ typedef struct LastFrameDuration {
} LastFrameDuration;
typedef struct InputFile {
+ const AVClass *class;
+
int index;
AVFormatContext *ctx;