diff options
author | Anton Khirnov <anton@khirnov.net> | 2024-01-23 19:45:14 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2024-01-30 09:52:00 +0100 |
commit | fe3be6f78fe3c9a362ad042403e4b699894d0fc2 (patch) | |
tree | 9cac9fb8896a6c022a4530fc152ce8f40781bca3 /fftools/ffmpeg.h | |
parent | a0ca99ccb7a49e667c63e76621ae7198719e2fdb (diff) | |
download | ffmpeg-fe3be6f78fe3c9a362ad042403e4b699894d0fc2.tar.gz |
fftools/ffmpeg_dec: stop passing InputStream to dec_open()
Diffstat (limited to 'fftools/ffmpeg.h')
-rw-r--r-- | fftools/ffmpeg.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fftools/ffmpeg.h b/fftools/ffmpeg.h index 02c614d0ff..c8cba72006 100644 --- a/fftools/ffmpeg.h +++ b/fftools/ffmpeg.h @@ -296,6 +296,7 @@ typedef struct DecoderOpts { int flags; char *name; + void *log_parent; const AVCodec *codec; const AVCodecParameters *par; @@ -756,7 +757,7 @@ AVBufferRef *hw_device_for_filter(void); * @param dec_opts Dictionary filled with decoder options. Its ownership * is transferred to the decoder. */ -int dec_open(InputStream *ist, Scheduler *sch, unsigned sch_idx, +int dec_open(Decoder **pdec, Scheduler *sch, unsigned sch_idx, AVDictionary **dec_opts, const DecoderOpts *o); void dec_free(Decoder **pdec); |