diff options
author | Anton Khirnov <anton@khirnov.net> | 2023-06-06 13:00:01 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2023-06-19 09:48:55 +0200 |
commit | 1adad44fc783615cd13c83c7d08218bf3d9f2419 (patch) | |
tree | 4dd4883038fe54cd93fcb8a74a950aa40658fbe8 /fftools/ffmpeg_demux.c | |
parent | 174cb3accf75d107c2c1b1b2f1138c1e2b3af85b (diff) | |
download | ffmpeg-1adad44fc783615cd13c83c7d08218bf3d9f2419.tar.gz |
fftools/ffmpeg_dec: move InputStream.hwaccel_pix_fmt to Decoder
It is purely decoder-internal state.
Diffstat (limited to 'fftools/ffmpeg_demux.c')
-rw-r--r-- | fftools/ffmpeg_demux.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fftools/ffmpeg_demux.c b/fftools/ffmpeg_demux.c index 84c286dd65..1c6a5aab7b 100644 --- a/fftools/ffmpeg_demux.c +++ b/fftools/ffmpeg_demux.c @@ -1149,8 +1149,6 @@ static void ist_add(const OptionsContext *o, Demuxer *d, AVStream *st) if (!ist->hwaccel_device) report_and_exit(AVERROR(ENOMEM)); } - - ist->hwaccel_pix_fmt = AV_PIX_FMT_NONE; } ist->dec = choose_decoder(o, ic, st, ist->hwaccel_id, ist->hwaccel_device_type); |