external/ffmpeg
Revision | 17d0635c909cf4fc6d1ca2c27ef6bcc69d757b4d (tree) |
---|---|
Time | 2017-06-08 00:42:31 |
Author | Chih-Wei Huang <cwhuang@linu...> |
Commiter | Chih-Wei Huang |
android: add ff_android_protocol
It's initialized and used by stagefright-plugins.
@@ -1,3 +1,7 @@ | ||
1 | +#ifdef ANDROID | |
2 | +URLProtocol ff_android_protocol; | |
3 | +#endif | |
4 | + | |
1 | 5 | static const URLProtocol *url_protocols[] = { |
2 | 6 | &ff_async_protocol, |
3 | 7 | &ff_cache_protocol, |
@@ -27,4 +31,7 @@ static const URLProtocol *url_protocols[] = { | ||
27 | 31 | &ff_udp_protocol, |
28 | 32 | &ff_udplite_protocol, |
29 | 33 | &ff_unix_protocol, |
34 | +#ifdef ANDROID | |
35 | + &ff_android_protocol, | |
36 | +#endif | |
30 | 37 | NULL }; |