Browse Source

lavf/file: cosmetic: Use "not" instead of "equals zero"

This is more similar to the "overall" FFmpeg coding style.
tags/n1.0
Alexander Strasser 13 years ago
parent
commit
1fe6cb448a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/file.c

+ 1
- 1
libavformat/file.c View File

@@ -91,7 +91,7 @@ static int file_open(URLContext *h, const char *filename, int flags)
return AVERROR(errno);
h->priv_data = (void *) (intptr_t) fd;

h->is_streamed = 0==fstat(fd, &st) && S_ISFIFO(st.st_mode);
h->is_streamed = !fstat(fd, &st) && S_ISFIFO(st.st_mode);

return 0;
}


Loading…
Cancel
Save