[MPlayer-cvslog] CVS: main/libao2 ao_pcm.c,1.33,1.34
Dominik 'Rathann' Mierzejewski
dominik at rangers.eu.org
Sun May 14 13:28:29 CEST 2006
On Sunday, 14 May 2006 at 12:21, Diego Biurrun CVS wrote:
> CVS change done by Diego Biurrun CVS
>
> Update of /cvsroot/mplayer/main/libao2
> In directory mail:/var2/tmp/cvs-serv11592/libao2
>
> Modified Files:
> ao_pcm.c
> Log Message:
> Only set the default output filename when it was not passed on the command
> line. Noticed by Corey Hickey.
>
>
> Index: ao_pcm.c
> ===================================================================
> RCS file: /cvsroot/mplayer/main/libao2/ao_pcm.c,v
> retrieving revision 1.33
> retrieving revision 1.34
> diff -u -r1.33 -r1.34
> --- ao_pcm.c 13 May 2006 19:04:39 -0000 1.33
> +++ ao_pcm.c 14 May 2006 10:21:56 -0000 1.34
> @@ -93,9 +93,10 @@
> if (subopt_parse(ao_subdevice, subopts) != 0) {
> return 0;
> }
> -
> - ao_outputfilename =
> - strdup((ao_pcm_waveheader)?"audiodump.wav":"audiodump.pcm");
> + if (!ao_outputfilename){
> + ao_outputfilename =
> + strdup(ao_pcm_waveheader?"audiodump.wav":"audiodump.pcm");
> + }
Cosmetics!
--
MPlayer developer and RPMs maintainer: http://rpm.greysector.net/mplayer/
There should be a science of discontent. People need hard times and
oppression to develop psychic muscles.
-- from "Collected Sayings of Muad'Dib" by the Princess Irulan
More information about the MPlayer-cvslog
mailing list