[FFmpeg-soc] [soc]: r4825 - in concat/libavformat: concat.c playlist.h
Geza Kovacs
gkovacs at MIT.EDU
Wed Jul 29 08:54:31 CEST 2009
>> --- 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. Or is there some other
approach I'm missing?
More information about the FFmpeg-soc
mailing list