]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/file.c
Split overly long line in doxy.
[ffmpeg] / libavformat / file.c
index da0ce150947bfb9b1671b740fbb581b3613dfdb3..d2cb5302d490feea8130623917d871c3c48480c2 100644 (file)
@@ -51,7 +51,7 @@ static int file_open(URLContext *h, const char *filename, int flags)
     access |= O_BINARY;
 #endif
     fd = open(filename, access, 0666);
-    if (fd < 0)
+    if (fd == -1)
         return AVERROR(ENOENT);
     h->priv_data = (void *) (intptr_t) fd;
     return 0;