Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(823)

Unified Diff: media/ffmpeg/ffmpeg_unittest.cc

Issue 111153003: FFmpeg fixups for M33 roll. Now with more Opus! (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add DEPS. Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/ffmpeg/ffmpeg_unittest.cc
diff --git a/media/ffmpeg/ffmpeg_unittest.cc b/media/ffmpeg/ffmpeg_unittest.cc
index bd232661ec4763d6c40b293dfe4ad47a72de226a..9f24845dc9825ca595b16b4e357cddda1c841d4d 100644
--- a/media/ffmpeg/ffmpeg_unittest.cc
+++ b/media/ffmpeg/ffmpeg_unittest.cc
@@ -91,8 +91,8 @@ class FFmpegTest : public testing::TestWithParam<const char*> {
duration_(AV_NOPTS_VALUE) {
InitializeFFmpeg();
- audio_buffer_.reset(avcodec_alloc_frame());
- video_buffer_.reset(avcodec_alloc_frame());
+ audio_buffer_.reset(av_frame_alloc());
+ video_buffer_.reset(av_frame_alloc());
}
virtual ~FFmpegTest() {

Powered by Google App Engine
This is Rietveld 408576698