summaryrefslogtreecommitdiffstats
path: root/media
diff options
context:
space:
mode:
Diffstat (limited to 'media')
-rw-r--r--media/base/mock_ffmpeg.cc5
-rw-r--r--media/base/mock_ffmpeg.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/media/base/mock_ffmpeg.cc b/media/base/mock_ffmpeg.cc
index 2422dd9..40be225 100644
--- a/media/base/mock_ffmpeg.cc
+++ b/media/base/mock_ffmpeg.cc
@@ -204,11 +204,6 @@ int av_dup_packet(AVPacket* packet) {
void av_log_set_level(int level) {
media::MockFFmpeg::get()->AVLogSetLevel(level);
}
-
-void av_destruct_packet(AVPacket *pkt) {
- media::MockFFmpeg::get()->AVDestructPacket(pkt);
-}
-
} // extern "C"
} // namespace media
diff --git a/media/base/mock_ffmpeg.h b/media/base/mock_ffmpeg.h
index 99c9c086..4a7de2b 100644
--- a/media/base/mock_ffmpeg.h
+++ b/media/base/mock_ffmpeg.h
@@ -38,7 +38,6 @@ class MockFFmpeg {
const char* args, uint8_t** poutbuf, int* poutbuf_size,
const uint8_t* buf, int buf_size, int keyframe));
MOCK_METHOD1(AVBitstreamFilterClose, void(AVBitStreamFilterContext* bsf));
- MOCK_METHOD1(AVDestructPacket, void(AVPacket* packet));
MOCK_METHOD5(AVOpenInputFile, int(AVFormatContext** format,
const char* filename,