[FFmpeg-devel] [libav-devel] [PATCH] aacsbr: break infinite loop in sbr_hf_calc_npatches
Andreas Cadhalpun
andreas.cadhalpun at googlemail.com
Wed Apr 22 19:12:08 CEST 2015
On 22.04.2015 18:52, Vittorio Giovara wrote:
> On Wed, Apr 22, 2015 at 5:31 PM, Claudio Freire <klaussfreire at gmail.com> wrote:
>> On Wed, Apr 22, 2015 at 12:54 PM, Andreas Cadhalpun
>> <andreas.cadhalpun at googlemail.com> wrote:
>>> On 22.04.2015 17:35, Claudio Freire wrote:
>>>> On Wed, Apr 22, 2015 at 10:23 AM, Andreas Cadhalpun
>>>> <andreas.cadhalpun at googlemail.com> wrote:
>>>>> + if (k == last_k && msb == last_msb) {
>>>>> + av_log(ac->avctx, AV_LOG_ERROR, "patch construction failed\n");
>>>>> + return AVERROR_INVALIDDATA;
>>>>> + }
>>>>> + last_k = k;
>>>>> + last_msb = msb;
>
> Andreas, do you have a sample that triggers the infinite loop?
Yes. I can send it to you privately, if you want to play around with it.
Best regards,
Andreas
More information about the ffmpeg-devel
mailing list