黄轩宇 <xuanyu.huang@...> writes: > Our application, when used with old version to > open a MP4 file with AAC encoded audio, the populated > pAudioCodecCtx->sample_fmt == AV_SAMPLE_FMT_FLP, but > when used with latest FFMPEG version, this value > changed to AV_SAMPLE_FMT_FLTP. > > I found a member AVCodecContext::request_sample_fmt > which is said can be set by user.
This is not a solution because most decoders only support one sample_fmt. Use the aconvert filter to convert between sample formats. Carl Eugen _______________________________________________ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user