summaryrefslogtreecommitdiffstats
path: root/media/test
diff options
context:
space:
mode:
Diffstat (limited to 'media/test')
-rw-r--r--media/test/ffmpeg_tests/ffmpeg_tests.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/test/ffmpeg_tests/ffmpeg_tests.cc b/media/test/ffmpeg_tests/ffmpeg_tests.cc
index a967bc3..f8da45c 100644
--- a/media/test/ffmpeg_tests/ffmpeg_tests.cc
+++ b/media/test/ffmpeg_tests/ffmpeg_tests.cc
@@ -115,7 +115,7 @@ int main(int argc, const char** argv) {
avcodec_init();
av_log_set_level(verbose_level);
av_register_all();
- av_register_protocol(&kFFmpegFileProtocol);
+ av_register_protocol2(&kFFmpegFileProtocol, sizeof(kFFmpegFileProtocol));
AVFormatContext* format_context = NULL;
// av_open_input_file wants a char*, which can't work with wide paths.
// So we assume ASCII on Windows. On other platforms we can pass the