On 05/10/2011 09:31 PM, Aℓex Converse wrote:

> On Tue, May 10, 2011 at 6:15 PM, Justin Ruggles
> <[email protected]> wrote:
>> > On 05/10/2011 08:00 PM, Aℓex Converse wrote:
>> >
> [...]
> 
>>> >> @@ -291,12 +290,9 @@ int audio_resample(ReSampleContext *s, short 
>>> >> *output, short *input, int nb_sampl
>>> >>          bufin[i]= av_malloc( (nb_samples + s->temp_len) * sizeof(short) 
>>> >> );
>>> >>          memcpy(bufin[i], s->temp[i], s->temp_len * sizeof(short));
>>> >>          buftmp2[i] = bufin[i] + s->temp_len;
>>> >> +        bufout[i] = av_malloc( lenout * sizeof(short) );
>> >
>> >
>> > remove the extra spaces inside the (). unless you're just matching style
>> > which is then corrected by your style patch...
>> >
> It was bad copypasta. Fixed.
> 
> [...]
> @@ -291,12 +290,9 @@ int audio_resample(ReSampleContext *s, short *output, 
> short *input, int nb_sampl
>          bufin[i]= av_malloc( (nb_samples + s->temp_len) * sizeof(short) );
>          memcpy(bufin[i], s->temp[i], s->temp_len * sizeof(short));
>          buftmp2[i] = bufin[i] + s->temp_len;
> +        bufout[i] = av_malloc( lenout * sizeof(short) );


still there. just fix it here or in the style patch.

patch ok.

-Justin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to