You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avformat/file: reindent after the previous commit
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
This commit is contained in:
@@ -384,17 +384,17 @@ static int pipe_open(URLContext *h, const char *filename, int flags)
|
|||||||
char *final;
|
char *final;
|
||||||
|
|
||||||
if (c->fd < 0) {
|
if (c->fd < 0) {
|
||||||
av_strstart(filename, "pipe:", &filename);
|
av_strstart(filename, "pipe:", &filename);
|
||||||
|
|
||||||
fd = strtol(filename, &final, 10);
|
fd = strtol(filename, &final, 10);
|
||||||
if((filename == final) || *final ) {/* No digits found, or something like 10ab */
|
if((filename == final) || *final ) {/* No digits found, or something like 10ab */
|
||||||
if (flags & AVIO_FLAG_WRITE) {
|
if (flags & AVIO_FLAG_WRITE) {
|
||||||
fd = 1;
|
fd = 1;
|
||||||
} else {
|
} else {
|
||||||
fd = 0;
|
fd = 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
c->fd = fd;
|
||||||
c->fd = fd;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#if HAVE_SETMODE
|
#if HAVE_SETMODE
|
||||||
|
Reference in New Issue
Block a user