[FFmpeg-devel] Exporting avc_find_startcode?

Michael Niedermayer michaelni
Fri Jan 11 12:47:34 CET 2008


On Fri, Jan 11, 2008 at 12:27:47PM +0100, Aurelien Jacobs wrote:
> Luca Abeni wrote:
> 
> > Hi all,
> > 
> > I am currently writing support for H.264 video in RTP (see my patches
> > on roundup). To do this, I need to split each video frame in NALs.
> > I wrote my own code, but it basically duplicates the functionalities
> > of avc_find_startcode(), so I am currently rewriting my patches to use
> > avc_find_startcode()... Is it ok to export it (removing the "static"
> > keyword, and putting the prototype in avc.h)?
> 
> IMO, yes.
> Just make sure that your code is linked with avc.o.

yes, but
please dont call it anything starting with av... its not part of the
public api

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

When you are offended at any man's fault, turn to yourself and study your
own failings. Then you will forget your anger. -- Epictetus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080111/4fef78a0/attachment.pgp>



More information about the ffmpeg-devel mailing list