[FFmpeg-devel] [PATCH 2/5] lavf: add av_ prefix to parse_date

Michael Niedermayer michaelni
Sun Feb 6 15:50:27 CET 2011


On Sun, Feb 06, 2011 at 03:46:47PM +0100, Anton Khirnov wrote:
[...]
> index f354539..4027990 100644
> --- a/libavformat/avformat.h
> +++ b/libavformat/avformat.h
> @@ -1474,6 +1474,10 @@ attribute_deprecated int parse_frame_rate(int *frame_rate, int *frame_rate_base,
>                                            const char *arg);
>  #endif
>  
> +#if FF_API_PARSE_DATE
> +attribute_deprecated int64_t parse_date(const char *datestr, int duration);
> +#endif
> +
>  /**
>   * Parse datestr and return a corresponding number of microseconds.
>   * @param datestr String representing a date or a duration.
> @@ -1501,7 +1505,7 @@ attribute_deprecated int parse_frame_rate(int *frame_rate, int *frame_rate_base,
>   * not zero datestr is interpreted as a duration, otherwise as a
>   * date.
>   */
> -int64_t parse_date(const char *datestr, int duration);
> +int64_t av_parse_date(const char *datestr, int duration);

This also doesnt belong in libavformat, which is why it doesnt have a av
prefix id guess

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

Many that live deserve death. And some that die deserve life. Can you give
it to them? Then do not be too eager to deal out death in judgement. For
even the very wise cannot see all ends. -- Gandalf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110206/b3972a03/attachment.pgp>



More information about the ffmpeg-devel mailing list