[FFmpeg-devel] [PATCH 3/5] lavf: add av_ prefix to find_info_tag

Anton Khirnov anton
Sun Feb 6 20:16:20 CET 2011


On Sun, Feb 06, 2011 at 03:49:25PM +0100, Michael Niedermayer wrote:
> On Sun, Feb 06, 2011 at 03:46:48PM +0100, Anton Khirnov wrote:
> [...]
> > --- a/libavformat/avformat.h
> > +++ b/libavformat/avformat.h
> > @@ -1518,13 +1518,17 @@ int64_t ffm_read_write_index(int fd);
> >  int ffm_write_write_index(int fd, int64_t pos);
> >  void ffm_set_write_index(AVFormatContext *s, int64_t pos, int64_t file_size);
> >  
> > +#if FF_API_FIND_INFO_TAG
> > +attribute_deprecated int find_info_tag(char *arg, int arg_size, const char *tag1, const char *info);
> > +#endif
> > +
> >  /**
> >   * Attempt to find a specific tag in a URL.
> >   *
> >   * syntax: '?tag1=val1&tag2=val2...'. Little URL decoding is done.
> >   * Return 1 if found.
> >   */
> > -int find_info_tag(char *arg, int arg_size, const char *tag1, const char *info);
> > +int av_find_info_tag(char *arg, int arg_size, const char *tag1, const char *info);
> >  
> >  /**
> >   * Return in 'buf' the path with '%d' replaced by a number.
> 
> This doesnt belong on libavformat IMHO
moved to libavcore

-- 
Anton Khirnov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Move-find_info_tag-to-lavco-and-add-av_-prefix-to-it.patch
Type: text/x-diff
Size: 12538 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110206/7a6e475c/attachment.patch>
-------------- 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/7a6e475c/attachment.pgp>



More information about the ffmpeg-devel mailing list