mirror of https://github.com/mpv-player/mpv
Reindent
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30499 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
8613396aa0
commit
9d9b7a1e22
|
@ -464,7 +464,7 @@ static demuxer_t* demux_open_lavf(demuxer_t *demuxer){
|
|||
if (!strncmp(demuxer->stream->url, "ffmpeg://rtsp:", 14))
|
||||
strncpy(mp_filename, demuxer->stream->url + 9, sizeof(mp_filename)-3);
|
||||
else
|
||||
strncpy(mp_filename + 3, demuxer->stream->url, sizeof(mp_filename)-3);
|
||||
strncpy(mp_filename + 3, demuxer->stream->url, sizeof(mp_filename)-3);
|
||||
} else
|
||||
strncpy(mp_filename + 3, "foobar.dummy", sizeof(mp_filename)-3);
|
||||
|
||||
|
|
|
@ -113,10 +113,10 @@ static int open_f(stream_t *stream, int mode, void *opts, int *file_format)
|
|||
stream->seek = NULL;
|
||||
}
|
||||
if (!dummy) {
|
||||
stream->fill_buffer = fill_buffer;
|
||||
stream->write_buffer = write_buffer;
|
||||
stream->control = control;
|
||||
stream->close = close_f;
|
||||
stream->fill_buffer = fill_buffer;
|
||||
stream->write_buffer = write_buffer;
|
||||
stream->control = control;
|
||||
stream->close = close_f;
|
||||
}
|
||||
res = STREAM_OK;
|
||||
|
||||
|
|
Loading…
Reference in New Issue