[FFmpeg-devel] [PATCH 02/15] lavfi/asetnsamples: raise filter_frame() error.

Nicolas George nicolas.george at normalesup.org
Wed Mar 13 16:06:25 CET 2013


Le tridi 23 ventôse, an CCXXI, Clement Boesch a écrit :
> +    if (ret == AVERROR_EOF) {
> +        do {
> +            ret = push_samples(outlink);
> +        } while (ret > 0);
> +    }

while ((ret = push_samples(outlink)) < 0)
    ;

would be a little more compact and not, IMHO, less readable, but that does
not matter much.

Apart from that LGTM, but I am not maintainer of this file.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130313/fe5127f6/attachment.asc>


More information about the ffmpeg-devel mailing list