[FFmpeg-devel] [PATCH] lavu: add escape API
stefasab at gmail.com
Tue Jan 22 22:02:51 CET 2013
On date Friday 2013-01-11 15:39:46 +0100, Stefano Sabatini encoded:
> On date Thursday 2013-01-10 19:33:35 +0100, Nicolas George encoded:
> > Why return anything? My philosophy for bprint is: add anything to it, do not
> > check for errors, check for errors at the end. Having all functions void
> > shows this.
> > The only error case here, apart from truncation inside bprint, is an invalid
> > mode selected. It is a programmatic error, not an environmental one, so a
> > less convenient way of reporting it would not be a problem.
> Truncation error is not considered an error here, invalid parameters
> yes. Also in case more complex operations are performed (e.g. alloc)
> it would be handy to be able to return an error.
> FFmpeg = Free and Freak MultiPurpose Esoteric Geisha
> From f0d0f51ab59a0eaa2e27838afae963c96c1b02f1 Mon Sep 17 00:00:00 2001
> From: Stefano Sabatini <stefasab at gmail.com>
> Date: Sun, 16 Dec 2012 12:17:23 +0100
> Subject: [PATCH] lavu: add escape API
> The escape API will be useful to perform escaping programmatically, which
> is required when crafting argument strings, and will be used for context
> printing as well.
> This is based on the ffescape tool code, with a few extensions and fixes.
> TODO: bump minor, add APIchanges entry
FFmpeg = Fancy and Fostering Mystic Plastic Elaborated Gorilla
More information about the ffmpeg-devel