summaryrefslogtreecommitdiff
path: root/fftools/ffmpeg.c
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2020-04-13 16:33:21 +0100
committerMark Thompson <sw@jkqxz.net>2020-04-26 18:38:25 +0100
commit79c173cc1900c735b1e256f5755b3e434a080a4f (patch)
tree9bb8fdd3d996f43cf3f5f5e851595e380c62c46e /fftools/ffmpeg.c
parent8abd3b202821e9c491f44d097686402aafdda7c5 (diff)
ffmpeg: Remove the hw_device_ctx global
The ad-hoc libmfx setup code is the only place its still used, so move it into that file.
Diffstat (limited to 'fftools/ffmpeg.c')
-rw-r--r--fftools/ffmpeg.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index 2287af59f0..cf64837b8a 100644
--- a/fftools/ffmpeg.c
+++ b/fftools/ffmpeg.c
@@ -4759,7 +4759,6 @@ static int transcode(void)
}
}
- av_buffer_unref(&hw_device_ctx);
hw_device_free_all();
/* finished ! */