[FFmpeg-soc] [soc]: r5060 - als/ffmpeg-patches/addALSreadconfig.patch

thilo.borgmann subversion at mplayerhq.hu
Thu Aug 13 02:24:01 CEST 2009


Author: thilo.borgmann
Date: Thu Aug 13 02:24:00 2009
New Revision: 5060

Log:
Reindent after last commit.

Modified:
   als/ffmpeg-patches/addALSreadconfig.patch

Modified: als/ffmpeg-patches/addALSreadconfig.patch
==============================================================================
--- als/ffmpeg-patches/addALSreadconfig.patch	Thu Aug 13 02:15:59 2009	(r5059)
+++ als/ffmpeg-patches/addALSreadconfig.patch	Thu Aug 13 02:24:00 2009	(r5060)
@@ -73,10 +73,13 @@ Index: libavformat/mov.c
                  MPEG4AudioConfig cfg;
                  ff_mpeg4audio_get_config(&cfg, st->codec->extradata,
                                           st->codec->extradata_size);
+-                if (cfg.chan_config > 7)
+-                    return -1;
+-                st->codec->channels = ff_mpeg4audio_channels[cfg.chan_config];
 +                if (cfg.chan_config) {
-                 if (cfg.chan_config > 7)
-                     return -1;
-                 st->codec->channels = ff_mpeg4audio_channels[cfg.chan_config];
++                    if (cfg.chan_config > 7)
++                        return -1;
++                    st->codec->channels = ff_mpeg4audio_channels[cfg.chan_config];
 +                } else {
 +                    st->codec->channels = cfg.channels;
 +                }


More information about the FFmpeg-soc mailing list