OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef SERVICES_MEDIA_FRAMEWORK_FFMPEG_AV_FORMAT_CONTEXT_H_ | 5 #ifndef SERVICES_MEDIA_FRAMEWORK_FFMPEG_AV_FORMAT_CONTEXT_H_ |
6 #define SERVICES_MEDIA_FRAMEWORK_FFMPEG_AV_FORMAT_CONTEXT_H_ | 6 #define SERVICES_MEDIA_FRAMEWORK_FFMPEG_AV_FORMAT_CONTEXT_H_ |
7 | 7 |
8 #include "services/media/framework_ffmpeg/av_io_context.h" | 8 #include "services/media/framework_ffmpeg/av_io_context.h" |
9 #include "services/media/framework_ffmpeg/ffmpeg_init.h" | 9 #include "services/media/framework_ffmpeg/ffmpeg_init.h" |
10 extern "C" { | 10 extern "C" { |
(...skipping 28 matching lines...) Expand all Loading... |
39 format_context = nullptr; | 39 format_context = nullptr; |
40 } | 40 } |
41 | 41 |
42 return AvFormatContextPtr(format_context); | 42 return AvFormatContextPtr(format_context); |
43 } | 43 } |
44 }; | 44 }; |
45 | 45 |
46 } // namespace media | 46 } // namespace media |
47 } // namespace mojo | 47 } // namespace mojo |
48 | 48 |
49 #endif // SERVICES_MEDIA_FRAMEWORK_FFMPEG_AV_FORMAT_CONTEXT_H_ | 49 #endif // SERVICES_MEDIA_FRAMEWORK_FFMPEG_AV_FORMAT_CONTEXT_H_ |
OLD | NEW |