[FFmpeg-cvslog] mpeg4_decode_profile_level: fix indention

Michael Niedermayer git at videolan.org
Sun Jul 24 16:29:39 CEST 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Jul 24 16:22:18 2011 +0200| [9e4ed295dab61fe0538a73ab88070e3af201f1e6] | committer: Michael Niedermayer

mpeg4_decode_profile_level: fix indention

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9e4ed295dab61fe0538a73ab88070e3af201f1e6
---

 libavcodec/mpeg4videodec.c |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/libavcodec/mpeg4videodec.c b/libavcodec/mpeg4videodec.c
index b44f2f0..e35c099 100644
--- a/libavcodec/mpeg4videodec.c
+++ b/libavcodec/mpeg4videodec.c
@@ -1529,15 +1529,15 @@ static int mpeg4_decode_gop_header(MpegEncContext * s, GetBitContext *gb){
 
 static int mpeg4_decode_profile_level(MpegEncContext * s, GetBitContext *gb){
 
-  s->avctx->profile = get_bits(gb, 4);
-  s->avctx->level   = get_bits(gb, 4);
+    s->avctx->profile = get_bits(gb, 4);
+    s->avctx->level   = get_bits(gb, 4);
 
-  // for Simple profile, level 0
-  if (s->avctx->profile == 0 && s->avctx->level == 8) {
-      s->avctx->level = 0;
-  }
+    // for Simple profile, level 0
+    if (s->avctx->profile == 0 && s->avctx->level == 8) {
+        s->avctx->level = 0;
+    }
 
-  return 0;
+    return 0;
 }
 
 static int decode_vol_header(MpegEncContext *s, GetBitContext *gb){



More information about the ffmpeg-cvslog mailing list