[FFmpeg-devel] Exporting avc_find_startcode?

Luca Abeni lucabe72
Fri Jan 11 12:58:07 CET 2008


Hi Aurelien,

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.
Good, thanks; I updated my code in this way.
The current version is here:
https://roundup.mplayerhq.hu/roundup/ffmpeg/file139/sdp-h264.diff



			Thanks,
				Luca




More information about the ffmpeg-devel mailing list