[FFmpeg-devel] [PATCH 1/3] lavd/pulse_audio_dec: use default source when no input provided

Michael Niedermayer michaelni at gmx.at
Thu Aug 7 15:36:48 CEST 2014

On Thu, Aug 07, 2014 at 01:58:55AM +0200, Lukasz Marek wrote:
> PulseAudio expilitly requires name of the source.
> This patch makes it use default source when not provided.
> It simplifies programistic use.
> Signed-off-by: Lukasz Marek <lukasz.m.luki2 at gmail.com>
> ---
>  libavdevice/pulse_audio_dec.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Its not that you shouldnt use gotos but rather that you should write
readable code and code with gotos often but not always is less readable
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20140807/3ef927af/attachment.asc>

More information about the ffmpeg-devel mailing list