Commit 11d887c1 authored by michael's avatar michael

sample_rate and channels in aac audio patch by (Luca Abeni <lucabe72 at email dot it>)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@3198 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 63b6c37b
...@@ -116,6 +116,9 @@ static int faac_init_mp4(AVCodecContext *avctx) ...@@ -116,6 +116,9 @@ static int faac_init_mp4(AVCodecContext *avctx)
if (r < 0) if (r < 0)
av_log(avctx, AV_LOG_ERROR, "faacDecInit2 failed r:%d sr:%ld ch:%ld s:%d\n", av_log(avctx, AV_LOG_ERROR, "faacDecInit2 failed r:%d sr:%ld ch:%ld s:%d\n",
r, samplerate, (long)channels, avctx->extradata_size); r, samplerate, (long)channels, avctx->extradata_size);
avctx->sample_rate = samplerate;
avctx->channels = channels;
return r; return r;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment