]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/avio.h
cosmetics, remove whitespace
[ffmpeg] / libavformat / avio.h
index 8a49e4ae6ab8b1867a1e2d130491fbe8a5f33b3f..ef53154ff075a59c9ef1e64083e5a09350b85f76 100644 (file)
@@ -18,8 +18,8 @@
  * License along with FFmpeg; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
-#ifndef FFMPEG_AVIO_H
-#define FFMPEG_AVIO_H
+#ifndef AVFORMAT_AVIO_H
+#define AVFORMAT_AVIO_H
 
 #include <stdint.h>
 
@@ -62,6 +62,8 @@ typedef struct URLPollEntry {
 
 typedef int URLInterruptCB(void);
 
+int url_open_protocol (URLContext **puc, struct URLProtocol *up,
+                       const char *filename, int flags);
 int url_open(URLContext **h, const char *filename, int flags);
 int url_read(URLContext *h, unsigned char *buf, int size);
 int url_write(URLContext *h, unsigned char *buf, int size);
@@ -269,7 +271,7 @@ int get_buffer(ByteIOContext *s, unsigned char *buf, int size);
 
 /**
  * Reads size bytes from ByteIOContext into buf.
- * This reads at most 1 packet. If that's not enough fewer bytes will be
+ * This reads at most 1 packet. If that is not enough fewer bytes will be
  * returned.
  * @returns number of bytes read or AVERROR
  */
@@ -366,4 +368,4 @@ int udp_set_remote_url(URLContext *h, const char *uri);
 int udp_get_local_port(URLContext *h);
 int udp_get_file_handle(URLContext *h);
 
-#endif /* FFMPEG_AVIO_H */
+#endif /* AVFORMAT_AVIO_H */