Index: media/test/ffmpeg_tests/ffmpeg_tests.cc |
diff --git a/media/test/ffmpeg_tests/ffmpeg_tests.cc b/media/test/ffmpeg_tests/ffmpeg_tests.cc |
index f8da45cdff96e40bf72edc00460df375ca8f0c47..a967bc3b35bbb544b9944252ad17551327caa703 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_protocol2(&kFFmpegFileProtocol, sizeof(kFFmpegFileProtocol)); |
+ av_register_protocol(&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 |