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

alexc subversion
Wed May 13 19:59:46 CEST 2009


Author: alexc
Date: Wed May 13 19:59:46 2009
New Revision: 18816

Log:
Cosmetics after last commit

Modified:
   trunk/libavcodec/aac_ac3_parser.c

Modified: trunk/libavcodec/aac_ac3_parser.c
==============================================================================
--- trunk/libavcodec/aac_ac3_parser.c	Wed May 13 19:57:58 2009	(r18815)
+++ trunk/libavcodec/aac_ac3_parser.c	Wed May 13 19:59:46 2009	(r18816)
@@ -83,11 +83,9 @@ get_next:
             (avctx->codec_id == CODEC_ID_AC3 ||
              avctx->codec_id == CODEC_ID_EAC3)))) {
         avctx->channels = avctx->request_channels;
-    } else {
-        if (avctx->codec_id != CODEC_ID_AAC || s->channels) {
+    } else if (avctx->codec_id != CODEC_ID_AAC || s->channels) {
         avctx->channels = s->channels;
         avctx->channel_layout = s->channel_layout;
-        }
     }
     avctx->bit_rate = s->bit_rate;
     avctx->frame_size = s->samples;



More information about the ffmpeg-cvslog mailing list