[MPlayer-cvslog] r30947 - trunk/libmpdemux/demux_lavf.c
reimar
subversion at mplayerhq.hu
Mon Mar 22 20:39:43 CET 2010
Author: reimar
Date: Mon Mar 22 20:39:43 2010
New Revision: 30947
Log:
Reindent
Modified:
trunk/libmpdemux/demux_lavf.c
Modified: trunk/libmpdemux/demux_lavf.c
==============================================================================
--- trunk/libmpdemux/demux_lavf.c Mon Mar 22 20:38:42 2010 (r30946)
+++ trunk/libmpdemux/demux_lavf.c Mon Mar 22 20:39:43 2010 (r30947)
@@ -159,19 +159,19 @@ static int lavf_check_file(demuxer_t *de
avpd.buf = av_mallocz(FFMAX(BIO_BUFFER_SIZE, PROBE_BUF_SIZE) +
FF_INPUT_BUFFER_PADDING_SIZE);
do {
- read_size = stream_read(demuxer->stream, avpd.buf + probe_data_size, read_size);
- if(read_size < 0) {
- av_free(avpd.buf);
- return 0;
- }
- probe_data_size += read_size;
- avpd.filename= demuxer->stream->url;
- if (!strncmp(avpd.filename, "ffmpeg://", 9))
- avpd.filename += 9;
- avpd.buf_size= probe_data_size;
+ read_size = stream_read(demuxer->stream, avpd.buf + probe_data_size, read_size);
+ if(read_size < 0) {
+ av_free(avpd.buf);
+ return 0;
+ }
+ probe_data_size += read_size;
+ avpd.filename= demuxer->stream->url;
+ if (!strncmp(avpd.filename, "ffmpeg://", 9))
+ avpd.filename += 9;
+ avpd.buf_size= probe_data_size;
- priv->avif= av_probe_input_format(&avpd, probe_data_size > 0);
- read_size = FFMIN(2*read_size, PROBE_BUF_SIZE - probe_data_size);
+ priv->avif= av_probe_input_format(&avpd, probe_data_size > 0);
+ read_size = FFMIN(2*read_size, PROBE_BUF_SIZE - probe_data_size);
} while ((demuxer->desc->type != DEMUXER_TYPE_LAVF_PREFERRED ||
probe_data_size < SMALL_MAX_PROBE_SIZE) &&
!priv->avif && read_size > 0 && probe_data_size < PROBE_BUF_SIZE);
More information about the MPlayer-cvslog
mailing list