mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-26 17:32:06 +00:00
avformat/file: reindent after the previous commit
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
This commit is contained in:
parent
49b8f043ca
commit
8d91a8faab
@ -384,17 +384,17 @@ static int pipe_open(URLContext *h, const char *filename, int flags)
|
||||
char *final;
|
||||
|
||||
if (c->fd < 0) {
|
||||
av_strstart(filename, "pipe:", &filename);
|
||||
av_strstart(filename, "pipe:", &filename);
|
||||
|
||||
fd = strtol(filename, &final, 10);
|
||||
if((filename == final) || *final ) {/* No digits found, or something like 10ab */
|
||||
if (flags & AVIO_FLAG_WRITE) {
|
||||
fd = 1;
|
||||
} else {
|
||||
fd = 0;
|
||||
fd = strtol(filename, &final, 10);
|
||||
if((filename == final) || *final ) {/* No digits found, or something like 10ab */
|
||||
if (flags & AVIO_FLAG_WRITE) {
|
||||
fd = 1;
|
||||
} else {
|
||||
fd = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
c->fd = fd;
|
||||
c->fd = fd;
|
||||
}
|
||||
|
||||
#if HAVE_SETMODE
|
||||
|
Loading…
Reference in New Issue
Block a user