aboutsummaryrefslogtreecommitdiffstats
path: root/fftools/ffmpeg_demux.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2023-06-06 13:00:01 +0200
committerAnton Khirnov <anton@khirnov.net>2023-06-19 09:48:55 +0200
commit1adad44fc783615cd13c83c7d08218bf3d9f2419 (patch)
tree4dd4883038fe54cd93fcb8a74a950aa40658fbe8 /fftools/ffmpeg_demux.c
parent174cb3accf75d107c2c1b1b2f1138c1e2b3af85b (diff)
downloadffmpeg-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.c2
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);