aboutsummaryrefslogtreecommitdiffstats
path: root/fftools/ffmpeg.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2024-01-10 12:20:32 +0100
committerAnton Khirnov <anton@khirnov.net>2024-01-30 09:52:00 +0100
commitb43d4a06925867fbbc0dbe21d63a3593253f672a (patch)
tree0c293b0c237177d48e6dc59aab815e03f72015b6 /fftools/ffmpeg.h
parent3b84140a1bb5a5b3044915888a40a7b619921633 (diff)
downloadffmpeg-b43d4a06925867fbbc0dbe21d63a3593253f672a.tar.gz
fftools/ffmpeg_dec: export subtitle_header in Decoder
This way the encoder does not need to access the decoder AVCodecContext, which will allow to make it private in future commits.
Diffstat (limited to 'fftools/ffmpeg.h')
-rw-r--r--fftools/ffmpeg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h
index 429c1aba85..4c9424d02f 100644
--- a/fftools/ffmpeg.h
+++ b/fftools/ffmpeg.h
@@ -281,7 +281,8 @@ typedef struct FilterGraph {
} FilterGraph;
typedef struct Decoder {
- char dummy;
+ const uint8_t *subtitle_header;
+ int subtitle_header_size;
} Decoder;
typedef struct InputStream {