[FFmpeg-cvslog] r26382 - trunk/libavfilter/defaults.c
Ronald S. Bultje
rsbultje
Sun Jan 16 04:05:44 CET 2011
Hi,
On Sat, Jan 15, 2011 at 9:47 PM, bcoudurier <subversion at mplayerhq.hu> wrote:
> Author: bcoudurier
> Date: Sun Jan 16 03:47:25 2011
> New Revision: 26382
>
> Log:
> Remove useless free, fix warning:
> libavfilter/defaults.c: In function 'avfilter_default_get_audio_buffer':
> libavfilter/defaults.c:129: warning: 'buf' is used uninitialized in this function
[..]
> @@ -210,6 +209,7 @@ int avfilter_default_config_output_link(
> ? ? ? ? if (link->type == AVMEDIA_TYPE_VIDEO) {
> ? ? ? ? ? ? link->w = link->src->inputs[0]->w;
> ? ? ? ? ? ? link->h = link->src->inputs[0]->h;
> + ? ? ? ? ? ?link->sample_aspect_ratio = link->src->inputs[0]->sample_aspect_ratio;
> ? ? ? ? ? ? link->time_base = link->src->inputs[0]->time_base;
> ? ? ? ? } else if (link->type == AVMEDIA_TYPE_AUDIO) {
> ? ? ? ? ? ? link->channel_layout = link->src->inputs[0]->channel_layout;
This made fate bleed to death, so red.
Ronald
More information about the ffmpeg-cvslog
mailing list