[FFmpeg-devel] [PATCH 2/2] Make ff_parse_expr() and ff_parse_and_eval_expr() return an int containing an error code.

Michael Niedermayer michaelni
Thu May 20 03:07:08 CEST 2010


On Thu, May 20, 2010 at 02:08:46AM +0200, Stefano Sabatini wrote:
> Allow these functions to convey to the calling application the reason
> of the failure, which is not always due to a parsing error but for
> example it may depend on a memory problem.

this makes the code more complex
so iam not sure if this is a good idea.
Could you explain what use you see in the error code?

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Incandescent light bulbs waste a lot of energy as heat so the EU forbids them.
Their replacement, compact fluorescent lamps, much more expensive, dont fit in
many old lamps, flicker, contain toxic mercury, produce a fraction of the light
that is claimed and in a unnatural spectrum rendering colors different than
in natural light. Ah and we now need to turn the heaters up more in winter to
compensate the lower wasted heat. Who wins? Not the environment, thats for sure
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100520/c733e6bf/attachment.pgp>



More information about the ffmpeg-devel mailing list