[FFmpeg-devel] Exporting avc_find_startcode?

Aurelien Jacobs aurel
Fri Jan 11 12:27:47 CET 2008


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.

Aurel




More information about the ffmpeg-devel mailing list