Commit 585bd492 authored by Alexander Strasser's avatar Alexander Strasser

lavf/file: cosmetic: Remove superfluous ternary operator

parent e1613476
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment