summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>2016-05-08 22:39:20 +0100
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>2016-05-08 22:39:39 +0100
commit172d3568b38c6d0c872293bbffa947a43a8d86ec (patch)
tree6f7472f32b167dbdd8384b3eeb117ad1476476c1 /ffmpeg.c
parent01938585f4cedbcabb3c879214c24b3fd4f91dcf (diff)
parent5d273d3efac340ef8de445c955ff44c7abed4e8f (diff)
downloadffmpeg-172d3568b38c6d0c872293bbffa947a43a8d86ec.tar.gz
Merge commit '5d273d3efac340ef8de445c955ff44c7abed4e8f'
* commit '5d273d3efac340ef8de445c955ff44c7abed4e8f': avconv: VAAPI hwcontext initialisation and hwaccel helper Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index adc3ff7800..03ac34e4cb 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -4213,6 +4213,8 @@ static int transcode(void)
}
}
+ av_buffer_unref(&hw_device_ctx);
+
/* finished ! */
ret = 0;