[FFmpeg-soc] [soc]: r5061 - als/ffmpeg-patches/addALSreadconfig.patch
thilo.borgmann
subversion at mplayerhq.hu
Thu Aug 13 02:36:48 CEST 2009
Author: thilo.borgmann
Date: Thu Aug 13 02:36:48 2009
New Revision: 5061
Log:
Reverted reindention.
Modified:
als/ffmpeg-patches/addALSreadconfig.patch
Modified: als/ffmpeg-patches/addALSreadconfig.patch
==============================================================================
--- als/ffmpeg-patches/addALSreadconfig.patch Thu Aug 13 02:24:00 2009 (r5060)
+++ als/ffmpeg-patches/addALSreadconfig.patch Thu Aug 13 02:36:48 2009 (r5061)
@@ -73,13 +73,10 @@ 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