[FFmpeg-soc] [soc]: r2257 - eac3/ac3dec.c

jbr subversion at mplayerhq.hu
Fri May 30 04:42:12 CEST 2008


Author: jbr
Date: Fri May 30 04:42:12 2008
New Revision: 2257

Log:
cosmetics: indent

Modified:
   eac3/ac3dec.c

Modified: eac3/ac3dec.c
==============================================================================
--- eac3/ac3dec.c	(original)
+++ eac3/ac3dec.c	Fri May 30 04:42:12 2008
@@ -1254,14 +1254,14 @@ static int ac3_decode_frame(AVCodecConte
                 av_log(avctx, AV_LOG_ERROR, "invalid frame size\n");
                 break;
             case AC3_PARSE_ERROR_FRAME_TYPE:
-    /* skip frame if CRC is ok. otherwise use error concealment. */
-    /* TODO: add support for substreams and dependent frames */
-        if(s->frame_type == EAC3_FRAME_TYPE_DEPENDENT || s->substreamid) {
-            av_log(avctx, AV_LOG_ERROR, "unsupported frame type : skipping frame\n");
-            return s->frame_size;
-        } else {
-            av_log(avctx, AV_LOG_ERROR, "invalid frame type\n");
-        }
+                /* skip frame if CRC is ok. otherwise use error concealment. */
+                /* TODO: add support for substreams and dependent frames */
+                if(s->frame_type == EAC3_FRAME_TYPE_DEPENDENT || s->substreamid) {
+                    av_log(avctx, AV_LOG_ERROR, "unsupported frame type : skipping frame\n");
+                    return s->frame_size;
+                } else {
+                    av_log(avctx, AV_LOG_ERROR, "invalid frame type\n");
+                }
                 break;
             default:
                 av_log(avctx, AV_LOG_ERROR, "invalid header\n");



More information about the FFmpeg-soc mailing list