projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04533b9
)
Swap deprecated FFmpeg call.
author
Carl Hetherington
<cth@carlh.net>
Thu, 12 Jun 2014 22:05:46 +0000
(23:05 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 12 Jun 2014 22:05:46 +0000
(23:05 +0100)
src/lib/ffmpeg_decoder.cc
patch
|
blob
|
history
diff --git
a/src/lib/ffmpeg_decoder.cc
b/src/lib/ffmpeg_decoder.cc
index 0dae2a4edc41be11d70855d94e93b9594dc27c39..a2b71aec313f64be093cf10b1e0313c1fdccdbea 100644
(file)
--- a/
src/lib/ffmpeg_decoder.cc
+++ b/
src/lib/ffmpeg_decoder.cc
@@
-317,7
+317,7
@@
FFmpegDecoder::minimal_run (boost::function<bool (optional<ContentTime>, optiona
if (_packet.stream_index == _video_stream) {
- av
codec_get_frame_defaults
(_frame);
+ av
_frame_unref
(_frame);
int got_picture = 0;
r = avcodec_decode_video2 (video_codec_context(), _frame, &got_picture, &_packet);