[FFmpeg-devel] [RFC][PATCH] avstring: Add new function av_for_each_pair
eclipse7 at gmx.net
Sat Feb 25 23:03:36 CET 2012
Alexander Strasser wrote:
> This function takes a string and tokenizes it into pairs. The
> caller will be called back for each pair.
as Stefano pointed out in the other thread similar functionality is
available in FFmpeg elsewhere (not all public API and has a different
I implemented this out of curiousity to see how my approach would
work out. I am not really satisfied with the implementation part, I
rushed it and I find it too complex. Ideas for simplification welcome!
For the interface part, you can look at the tests I added in the
patch and as a bonus I have a sample program filling an AVDictionary
attached to this mail.
I hope to read your opinions.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 886 bytes
Desc: not available
More information about the ffmpeg-devel