[FFmpeg-devel] libavformat: deprecated AVStream member suggests usage of private field

wm4 nfxjfg at googlemail.com
Sat Jun 3 22:19:17 EEST 2017


On Sat, 3 Jun 2017 21:15:01 +0200
"Tom M." <tom.mbrt at googlemail.com> wrote:

> This is pretty confusing. Those "All fields below this line are not part of
> the public API." comments are completely ignored by doxygen. And this is
> where most people look at, I doubt they parse the raw header files
> themselves. Wouldnt it be possible to move these private fields into the
> internal struct? That way we would get rid of those misleading comments.
> 
> There are downstream libraries even using the fields *skip_samples,
> start_skip_samples, first_discard_sample, last_discard_sample*, etc. Are
> they also meant to be private? Though their comments do not suggest this,
> imo.

The fields you mentioned are private. Look at the comments in the git
sources.


More information about the ffmpeg-devel mailing list