[FFmpeg-cvslog] r12901 - trunk/libavcodec/aac_ac3_parser.c

michael subversion
Sat Apr 19 12:48:50 CEST 2008


Author: michael
Date: Sat Apr 19 12:48:50 2008
New Revision: 12901

Log:
indent


Modified:
   trunk/libavcodec/aac_ac3_parser.c

Modified: trunk/libavcodec/aac_ac3_parser.c
==============================================================================
--- trunk/libavcodec/aac_ac3_parser.c	(original)
+++ trunk/libavcodec/aac_ac3_parser.c	Sat Apr 19 12:48:50 2008
@@ -67,20 +67,20 @@ get_next:
     *poutbuf = buf;
     *poutbuf_size = buf_size;
 
-                    /* update codec info */
-                    avctx->sample_rate = s->sample_rate;
-                    /* allow downmixing to stereo (or mono for AC3) */
-                    if(avctx->request_channels > 0 &&
-                            avctx->request_channels < s->channels &&
-                            (avctx->request_channels <= 2 ||
-                            (avctx->request_channels == 1 &&
-                            avctx->codec_id == CODEC_ID_AC3))) {
-                        avctx->channels = avctx->request_channels;
-                    } else {
-                        avctx->channels = s->channels;
-                    }
-                    avctx->bit_rate = s->bit_rate;
-                    avctx->frame_size = s->samples;
+    /* update codec info */
+    avctx->sample_rate = s->sample_rate;
+    /* allow downmixing to stereo (or mono for AC3) */
+    if(avctx->request_channels > 0 &&
+            avctx->request_channels < s->channels &&
+            (avctx->request_channels <= 2 ||
+            (avctx->request_channels == 1 &&
+            avctx->codec_id == CODEC_ID_AC3))) {
+        avctx->channels = avctx->request_channels;
+    } else {
+        avctx->channels = s->channels;
+    }
+    avctx->bit_rate = s->bit_rate;
+    avctx->frame_size = s->samples;
 
     return i;
 }




More information about the ffmpeg-cvslog mailing list