diff options
author | Alexander Strasser <eclipse7@gmx.net> | 2012-07-01 00:47:49 +0200 |
---|---|---|
committer | Alexander Strasser <eclipse7@gmx.net> | 2012-07-05 10:55:49 +0200 |
commit | 1fe6cb448a85d7768851f818850456c39eaa7926 (patch) | |
tree | 5dbc212e23f820125015be28d0604c344af25db3 /libavformat | |
parent | 585bd4922a9ff9579ee67617e14607250d6a0100 (diff) | |
download | ffmpeg-1fe6cb448a85d7768851f818850456c39eaa7926.tar.gz |
lavf/file: cosmetic: Use "not" instead of "equals zero"
This is more similar to the "overall" FFmpeg coding style.
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/file.c b/libavformat/file.c index b49f84f0e6..c54ec2882f 100644 --- a/libavformat/file.c +++ b/libavformat/file.c @@ -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; } |