mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 11:49:48 +00:00
lavf/file: cosmetic: Use "not" instead of "equals zero"
This is more similar to the "overall" FFmpeg coding style.
This commit is contained in:
parent
585bd4922a
commit
1fe6cb448a
@ -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…
Reference in New Issue
Block a user