[FFmpeg-devel] [PATCH v4] avformat: add MMTP parser and MMT/TLV demuxer

Anton Khirnov anton at khirnov.net
Mon May 1 10:39:54 EEST 2023


Quoting SuperFashi (2023-05-01 03:10:36)
> Thanks for the feedback. I thought across libraries meant across different
> muxers/demuxers. In which case, is there any naming scheme for functions
> that are only used within lavf? Can i just remove the avpriv_ prefix?

tl;dr: use ff_ for non-static functions used within a single library

see http://ffmpeg.org/developer.html#Naming-conventions-1 for details

> For inline, my habit is to add it when there’s only one place that uses it.
> I can remove it.

I prefer to avoid it, because it's visual clutter that in most cases has
no meaningful effect.

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list