Index: media/ffmpeg/ffmpeg_common.h |
diff --git a/media/ffmpeg/ffmpeg_common.h b/media/ffmpeg/ffmpeg_common.h |
index c697bee69f40772db371cd00a05a0d6e935969eb..28b58413c1fedea2e103e0eec5c44c6ffef81357 100644 |
--- a/media/ffmpeg/ffmpeg_common.h |
+++ b/media/ffmpeg/ffmpeg_common.h |
@@ -61,7 +61,7 @@ inline void ScopedPtrAVFreeContext::operator()(void* x) const { |
inline void ScopedPtrAVFreeFrame::operator()(void* x) const { |
AVFrame* frame = static_cast<AVFrame*>(x); |
- avcodec_free_frame(&frame); |
+ av_frame_free(&frame); |
} |
// Converts an int64 timestamp in |time_base| units to a base::TimeDelta. |