[FFmpeg-devel] [PATCH] Implement av_get_token()

Stefano Sabatini stefano.sabatini-lala
Fri Apr 24 01:32:08 CEST 2009


Hi, as in subject.
Maybe it should be implemented in libavutil/avstring.h, but then maybe
is also better to wait for it to stabilize.

This is the output of the test program:

|| -> || + ||
|:| -> || + |:|
|    | -> || + ||
|foo     | -> |foo| + ||
|     foo| -> |foo| + ||
|      foo       | -> |foo| + ||
| foo   bar    :   blahblah| -> |foo   bar| + |:   blahblah|
|\f\o\o| -> |foo| + ||
|'foo : \ \  '   : blahblah| -> |foo : \ \| + |: blahblah|
|'\fo\o:': blahblah| -> |\fo\o:| + |: blahblah|
|\'fo\o\:':  foo'  :blahblah| -> |'foo::  foo| + |:blahblah|

Regards.
-- 
FFmpeg = Frenzy & Frightening Merciless Powerful Easy Gorilla
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lavfi-implement-get-token.patch
Type: text/x-diff
Size: 5118 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090424/40e9b783/attachment.patch>



More information about the ffmpeg-devel mailing list