lavf/file: cosmetic: Remove superfluous ternary operator

This commit is contained in:
Alexander Strasser 2012-07-01 00:37:52 +02:00
parent e1613476ff
commit 585bd4922a
1 changed files with 1 additions and 1 deletions

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)) ? 1 : 0;
h->is_streamed = 0==fstat(fd, &st) && S_ISFIFO(st.st_mode);
return 0;
}