[FFmpeg-devel] [PATCH] avformat: stop exporting ffurl_read_complete, ffurl_seek and ffurl_size

Hendrik Leppkes h.leppkes at gmail.com
Sun Dec 27 19:38:17 CET 2015


On Sun, Dec 27, 2015 at 7:32 PM, Jan Ehrhardt <phpdev at ehrhardt.nl> wrote:
> Andreas Cadhalpun in gmane.comp.video.ffmpeg.devel (Tue, 27 Oct 2015
> 22:52:27 +0100):
>>> On Tue, Oct 27, 2015 at 9:58 PM, Andreas Cadhalpun
>>>> diff --git a/libavformat/libavformat.v b/libavformat/libavformat.v
>>>> index e90aef7..a00a309 100644
>>>> --- a/libavformat/libavformat.v
>>>> +++ b/libavformat/libavformat.v
>>>> @@ -10,9 +10,6 @@ LIBAVFORMAT_$MAJOR {
>>>> -                ffurl_read_complete;
>>>> -                ffurl_seek;
>>>> -                ffurl_size;
>>
>>OK. I'll wait a bit to see if someone else wants to comment on this patch.
>
> There is a PHP extension that uses ffurl_seek and ffurl_read_complete:
> https://github.com/chung-leong/av/blob/master/faststart.c#L76
>
> These functions are also documented at
> http://www.ffmpeg.org/doxygen/trunk/avio_8c.html
>
> How should an external developer know what functions are publically
> available?

The doxygen you referenced documents everything, including internal
data structures.
It may be a bit unfortunate choice to have that on the website, but
its probably also used by developers of FFmpeg.

If you want to see public functions, best would be to check the
installed headers. avio.h for example doesn't export any non-public
functions (while of course avio.c contains them, which is what you
linked the doxygen of)

- Hendrik


More information about the ffmpeg-devel mailing list