X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Fffmpeg.cc;h=4bf9415234e3d54b844e8881e56a75dd30558492;hp=53d12419a6872f88a8bdb8b5f58658867620d236;hb=b9567ce4b9212c3ed386592d318eea0e639472c0;hpb=18a11ac88390784a19c21093d05c39c328366b5f diff --git a/src/lib/ffmpeg.cc b/src/lib/ffmpeg.cc index 53d12419a..4bf941523 100644 --- a/src/lib/ffmpeg.cc +++ b/src/lib/ffmpeg.cc @@ -62,7 +62,7 @@ FFmpeg::~FFmpeg () } } - avcodec_free_frame (&_frame); + av_frame_free (&_frame); avformat_close_input (&_format_context); } @@ -136,7 +136,7 @@ FFmpeg::setup_general () } } - _frame = avcodec_alloc_frame (); + _frame = av_frame_alloc (); if (_frame == 0) { throw DecodeError (N_("could not allocate frame")); }