]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/file.c
Add some const keywords in rtjpeg decoder
[ffmpeg] / libavformat / file.c
index c0134d15dfce32faa9bb4a4f05d6135e585bffca..6285c1bba2b322b3d15b4a73633b28e3bf47f59b 100644 (file)
@@ -24,6 +24,7 @@
 #include <unistd.h>
 #include <sys/time.h>
 #include <stdlib.h>
+#include "os_support.h"
 
 
 /* standard file protocol */
@@ -110,16 +111,9 @@ static int pipe_open(URLContext *h, const char *filename, int flags)
     return 0;
 }
 
-static int pipe_close(URLContext *h)
-{
-    return 0;
-}
-
 URLProtocol pipe_protocol = {
     "pipe",
     pipe_open,
     file_read,
     file_write,
-    NULL,
-    pipe_close,
 };