summaryrefslogtreecommitdiffstats
path: root/media/base
diff options
context:
space:
mode:
authortyoshino@chromium.org <tyoshino@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-11 02:34:54 +0000
committertyoshino@chromium.org <tyoshino@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-11 02:34:54 +0000
commit4a46734e12d09c0fa38a2ce706441a25e5d016c0 (patch)
tree38534d75bd050fcfd8c14055974e76524b3c39d6 /media/base
parent1d124d66343f85bdb54e3cf3fc4ce44ffb2e7cf7 (diff)
downloadchromium_src-4a46734e12d09c0fa38a2ce706441a25e5d016c0.zip
chromium_src-4a46734e12d09c0fa38a2ce706441a25e5d016c0.tar.gz
chromium_src-4a46734e12d09c0fa38a2ce706441a25e5d016c0.tar.bz2
Revert 77476 - Remove FFmpegVideoDecodeEngine's dependency on AVStream.
This change seems to have caused Linux Heapcheck bot redness. http://build.chromium.org/p/chromium.memory/builders/Linux%20Heapcheck/builds/4846 First step of many towards removing DemuxerStream::QueryInterface, AVStreamProvider, and MediaFormat. BUG=28206 TEST=media_unittests Review URL: http://codereview.chromium.org/6624062 TBR=scherkus@chromium.org Review URL: http://codereview.chromium.org/6665020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77770 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/base')
-rw-r--r--media/base/mock_ffmpeg.cc4
-rw-r--r--media/base/mock_ffmpeg.h1
2 files changed, 0 insertions, 5 deletions
diff --git a/media/base/mock_ffmpeg.cc b/media/base/mock_ffmpeg.cc
index f1e28f9..ec19b1b 100644
--- a/media/base/mock_ffmpeg.cc
+++ b/media/base/mock_ffmpeg.cc
@@ -120,10 +120,6 @@ void avcodec_flush_buffers(AVCodecContext* avctx) {
return MockFFmpeg::get()->AVCodecFlushBuffers(avctx);
}
-AVCodecContext* avcodec_alloc_context() {
- return MockFFmpeg::get()->AVCodecAllocContext();
-}
-
AVFrame* avcodec_alloc_frame() {
return MockFFmpeg::get()->AVCodecAllocFrame();
}
diff --git a/media/base/mock_ffmpeg.h b/media/base/mock_ffmpeg.h
index b004aa4..89402fe 100644
--- a/media/base/mock_ffmpeg.h
+++ b/media/base/mock_ffmpeg.h
@@ -28,7 +28,6 @@ class MockFFmpeg {
MOCK_METHOD1(AVCodecClose, int(AVCodecContext* avctx));
MOCK_METHOD2(AVCodecThreadInit, int(AVCodecContext* avctx, int threads));
MOCK_METHOD1(AVCodecFlushBuffers, void(AVCodecContext* avctx));
- MOCK_METHOD0(AVCodecAllocContext, AVCodecContext*());
MOCK_METHOD0(AVCodecAllocFrame, AVFrame*());
MOCK_METHOD4(AVCodecDecodeVideo2,
int(AVCodecContext* avctx, AVFrame* picture,