changeset 30905:6ca66cec8a15

Reindent
author reimar
date Mon, 22 Mar 2010 19:39:43 +0000
parents c449f1667e78
children a34f16fb8823
files libmpdemux/demux_lavf.c
diffstat 1 files changed, 12 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_lavf.c	Mon Mar 22 19:38:42 2010 +0000
+++ b/libmpdemux/demux_lavf.c	Mon Mar 22 19:39:43 2010 +0000
@@ -159,19 +159,19 @@
     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);