aboutsummaryrefslogtreecommitdiffstats
path: root/avconv.c
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2016-03-23 23:48:13 +0000
committerAnton Khirnov <anton@khirnov.net>2016-03-30 09:04:53 +0200
commit5d273d3efac340ef8de445c955ff44c7abed4e8f (patch)
tree245dbf7c3bb31832b9d0937fc52f4232f9f5b87d /avconv.c
parentca8c7591735c0f80cc29e31e2e92cb10228e14c7 (diff)
downloadffmpeg-5d273d3efac340ef8de445c955ff44c7abed4e8f.tar.gz
avconv: VAAPI hwcontext initialisation and hwaccel helper
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'avconv.c')
-rw-r--r--avconv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/avconv.c b/avconv.c
index 68e35151b0..07c81fa2ad 100644
--- a/avconv.c
+++ b/avconv.c
@@ -2736,6 +2736,8 @@ static int transcode(void)
}
}
+ av_buffer_unref(&hw_device_ctx);
+
/* finished ! */
ret = 0;