[FFmpeg-soc] [soc]: r4825 - in concat/libavformat: concat.c playlist.h

Aurelien Jacobs aurel at gnuage.org
Wed Jul 29 11:17:13 CEST 2009


On Tue, Jul 28, 2009 at 11:54:31PM -0700, Geza Kovacs wrote:
> >> --- concat/libavformat/concat.c	Wed Jul 29 04:48:38 2009	(r4824)
> >> +++ concat/libavformat/concat.c	Wed Jul 29 05:06:53 2009	(r4825)
> >> @@ -36,7 +36,7 @@ extern int ff_concatgen_read_packet(AVFo
> >>  
> >>  extern int ff_concatgen_read_seek(AVFormatContext *s, int stream_index, int64_t pts, int flags);
> >>  
> >> -extern int ff_concatgen_read_timestamp(AVFormatContext *s, int stream_index, int64_t *pos, int64_t pos_limit);
> >> +extern int64_t ff_concatgen_read_timestamp(AVFormatContext *s, int stream_index, int64_t *pos, int64_t pos_limit);
> >>  
> >>  extern int ff_concatgen_read_close(AVFormatContext *s);
> > 
> > All these local declarations are exceedingly ugly.  They should be in
> > some header file.  This would also have avoided the issue you just
> > fixed.
> 
> I originally had those in a header file (concatgen.h), but given that
> none of those functions are of use outside a playlist demuxer, I didn't
> want those to be polluting the public API.

Header files are *not* part of public API except if they are installed
(see HEADERS var in Makefile).

Aurel


More information about the FFmpeg-soc mailing list