[SCM] libav/experimental: sample_rate and channels in aac audio patch by (Luca Abeni <lucabe72 at email dot it>)
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 15:40:36 UTC 2013
The following commit has been merged in the experimental branch:
commit 940aed50ed1b1920d5363fa63f7e2c5d6e823817
Author: Luca Abeni <lucabe72 at email.it>
Date: Sat Jun 5 22:36:43 2004 +0000
sample_rate and channels in aac audio patch by (Luca Abeni <lucabe72 at email dot it>)
Originally committed as revision 3198 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavcodec/faad.c b/libavcodec/faad.c
index 05f6a2b..b290381 100644
--- a/libavcodec/faad.c
+++ b/libavcodec/faad.c
@@ -116,6 +116,9 @@ static int faac_init_mp4(AVCodecContext *avctx)
if (r < 0)
av_log(avctx, AV_LOG_ERROR, "faacDecInit2 failed r:%d sr:%ld ch:%ld s:%d\n",
r, samplerate, (long)channels, avctx->extradata_size);
+ avctx->sample_rate = samplerate;
+ avctx->channels = channels;
+
return r;
}
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list