Bump ffmpeg and try to fix small leak with filters.
[dcpomatic.git] / src / lib / ffmpeg.cc
index 53d12419a6872f88a8bdb8b5f58658867620d236..4bf9415234e3d54b844e8881e56a75dd30558492 100644 (file)
@@ -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"));
        }