[FFmpeg-cvslog] r26382 - trunk/libavfilter/defaults.c

Baptiste Coudurier baptiste.coudurier
Sun Jan 16 22:00:57 CET 2011


On 1/15/11 7:20 PM, Ronald S. Bultje wrote:
> Hi,
> 
> On Sat, Jan 15, 2011 at 10:05 PM, Ronald S. Bultje <rsbultje at gmail.com> wrote:
>> 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.
> 
> Fixed myself...

Thanks, unrelated hunk slipped in.

-- 
Baptiste COUDURIER
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer                                  http://www.ffmpeg.org



More information about the ffmpeg-cvslog mailing list