[PATCH] reindent after looking for valid mpeg frames=0A=

David Byron none dbyron
Thu Sep 23 11:07:47 CEST 2010


=0A=
---=0A=
 libavcodec/mpegaudiodec.c |   12 ++++++------=0A=
 1 files changed, 6 insertions(+), 6 deletions(-)=0A=
=0A=
diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c=0A=
index 03a4f9e..03f9bd0 100644=0A=
--- a/libavcodec/mpegaudiodec.c=0A=
+++ b/libavcodec/mpegaudiodec.c=0A=
@@ -2039,12 +2039,12 @@ static int decode_frame(AVCodecContext * avctx,=0A=
     OUT_INT *out_samples =3D data;=0A=
 =0A=
     while (buf_size >=3D HEADER_SIZE) {=0A=
-    header =3D AV_RB32(buf);=0A=
-    if(ff_mpa_check_header(header) >=3D 0){=0A=
-        break;=0A=
-    }=0A=
-    buf++;=0A=
-    buf_size--;=0A=
+        header =3D AV_RB32(buf);=0A=
+        if(ff_mpa_check_header(header) >=3D 0){=0A=
+            break;=0A=
+        }=0A=
+        buf++;=0A=
+        buf_size--;=0A=
     }=0A=
 =0A=
     if(buf_size < HEADER_SIZE)=0A=
-- =0A=
1.6.0.4=0A=
=0A=

------=_NextPart_000_0A39_01CB5B12.2A07BC00--




More information about the ffmpeg-devel mailing list