[FFmpeg-cvslog] sndio support for playback and record

Reimar Döffinger Reimar.Doeffinger at gmx.de
Mon Mar 28 19:33:09 CEST 2011


On Mon, Mar 28, 2011 at 02:25:33AM +0200, Brad wrote:
> + * Copyright (c) 2010 Jacob Meuser

Huh? 2010?

> + * This file is part of Libav.

??

> +    if (par.bits != 16 || par.sig != 1 || par.le != SIO_LE_NATIVE ||

> +    s->codec_id    = par.le ? CODEC_ID_PCM_S16LE : CODEC_ID_PCM_S16BE;

That doesn't really make sense? Checking a variable that can have
only exactly one value!

> +        len = s->buffer_size - s->buffer_offset;
> +        if (len > size)
> +            len = size;

FFMIN


More information about the ffmpeg-cvslog mailing list