OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef SERVICES_MEDIA_FRAMEWORK_FFMPEG_FFMPEG_IO_H_ | |
6 #define SERVICES_MEDIA_FRAMEWORK_FFMPEG_FFMPEG_IO_H_ | |
7 | |
8 #include "services/media/framework/parts/reader.h" | |
9 extern "C" { | |
10 #include "third_party/ffmpeg/libavformat/avio.h" | |
11 } | |
12 | |
13 namespace mojo { | |
14 namespace media { | |
15 | |
16 // Creates an ffmpeg avio_context for a given reader. | |
17 AVIOContext* CreateAvioContext(Reader* reader); | |
johngro
2016/03/01 01:31:39
see earlier comment about raw FFmpeg pointers. Co
dalesat
2016/03/01 20:43:02
Done.
| |
18 | |
19 // Frees an avio_context created by CreateContext. | |
20 void FreeAvioContext(AVIOContext*); | |
21 | |
22 } // namespace media | |
23 } // namespace mojo | |
24 | |
25 #endif // SERVICES_MEDIA_FRAMEWORK_FFMPEG_FFMPEG_IO_H_ | |
OLD | NEW |