summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-11-09 16:53:30 +0000
committerCarl Hetherington <cth@carlh.net>2013-11-09 16:53:30 +0000
commit2b69ea346a5c8f550c3be474db9734dd754eb1a0 (patch)
treeba28bada7ec93241c0dd1b530ab11b48f415fb92 /src/lib/ffmpeg.cc
parentd688e14e789e1ef99161e247d557e09738e047a7 (diff)
Drop JobManager on cli-exit for valgrind; use avcodec_free_frame rather than av_free.
Diffstat (limited to 'src/lib/ffmpeg.cc')
-rw-r--r--src/lib/ffmpeg.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ffmpeg.cc b/src/lib/ffmpeg.cc
index c97b79a71..596703a01 100644
--- a/src/lib/ffmpeg.cc
+++ b/src/lib/ffmpeg.cc
@@ -58,7 +58,7 @@ FFmpeg::~FFmpeg ()
}
}
- av_free (_frame);
+ avcodec_free_frame (&_frame);
avformat_close_input (&_format_context);
}