[FFmpeg-devel] [PATCH] lavu: introduce av_parse_ratio() and use it in ffmpeg and lavfi/aspect

Stefano Sabatini stefasab at gmail.com
Fri Jan 20 15:44:09 CET 2012


On date Friday 2012-01-20 14:50:48 +0100, Stefano Sabatini encoded:
> Simplify and provide ratio parsing consistency.
> ---
>  ffmpeg.c                |   34 ++++++++--------------------------
>  libavfilter/vf_aspect.c |   25 ++++++-------------------
>  libavutil/parseutils.c  |   30 ++++++++++++++++++++++++++----
>  libavutil/parseutils.h  |   15 +++++++++++++++
>  4 files changed, 55 insertions(+), 49 deletions(-)

Updated with a few fixes in the doxy and an added check in
av_parse_ratio().
-- 
FFmpeg = Friendly Frenzy Martial Portable Extroverse Guru
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lavu-introduce-av_parse_ratio-and-use-it-in-ffmpeg-a.patch
Type: text/x-diff
Size: 6603 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120120/3ee9b9ad/attachment.bin>


More information about the ffmpeg-devel mailing list