[Mplayer-cvslog] CVS: main/libao2 audio_out.c,1.40,1.41

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Wed Oct 13 03:11:07 CEST 2004


Hi,

>>> --- audio_out.c    25 Sep 2004 15:34:42 -0000    1.40
>>> +++ audio_out.c    1 Oct 2004 19:51:02 -0000    1.41
>>> @@ -156,6 +156,7 @@
>>>         }
>>>     }
>>>         // continue...
>>> +    free(ao);
>>
>> Should be here a "ao=NULL;" ?
> 
> ao is a variable local to that loop. Setting to NULL hardly makes sense 
> there (a result of a strdup)...

Nevertheless the code is still a bit weird. I send a patch to -dev-eng 
that will hopefully improve that.

Greetings,
   Reimar Döffinger




More information about the MPlayer-cvslog mailing list