summaryrefslogtreecommitdiff
path: root/libavformat/file.c
diff options
context:
space:
mode:
authorAlexander Strasser <eclipse7@gmx.net>2012-07-01 00:37:52 +0200
committerAlexander Strasser <eclipse7@gmx.net>2012-07-05 10:55:49 +0200
commit585bd4922a9ff9579ee67617e14607250d6a0100 (patch)
treee51c771ab350acedca02266a81e658cd4872ba03 /libavformat/file.c
parente1613476ff5137ce22a591f33810f66bcd2d84b5 (diff)
lavf/file: cosmetic: Remove superfluous ternary operator
Diffstat (limited to 'libavformat/file.c')
-rw-r--r--libavformat/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/file.c b/libavformat/file.c
index 35c36a56b6..b49f84f0e6 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)) ? 1 : 0;
+ h->is_streamed = 0==fstat(fd, &st) && S_ISFIFO(st.st_mode);
return 0;
}