projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove some deprecated FFmpeg stuff.
[dcpomatic.git]
/
src
/
lib
/
ffmpeg.cc
diff --git
a/src/lib/ffmpeg.cc
b/src/lib/ffmpeg.cc
index e5e5f317a0efeea02dda41588685e1e2d58d3fe7..d3653e311fdfadeabe97d9a3898d5fe0c835fb36 100644
(file)
--- a/
src/lib/ffmpeg.cc
+++ b/
src/lib/ffmpeg.cc
@@
-62,7
+62,7
@@
FFmpeg::~FFmpeg ()
}
}
- av
codec_free_fram
e (&_frame);
+ av
_frame_fre
e (&_frame);
avformat_close_input (&_format_context);
}
@@
-136,7
+136,7
@@
FFmpeg::setup_general ()
}
}
- _frame = av
codec_alloc_frame
();
+ _frame = av
_frame_alloc
();
if (_frame == 0) {
throw DecodeError (N_("could not allocate frame"));
}