[Ffmpeg-devel] Re: [PATCH] h264 muxing in mp4

Erik Slagter erik
Sat Mar 11 10:27:34 CET 2006


On Fri, 2006-03-10 at 19:47 +0100, Baptiste COUDURIER wrote:
> +    url_open_dyn_buf(&pb);
> +    nal_start = avc_find_startcode(p, end);
> +    while (nal_start < end) {
> +        while(!*(nal_start++));
          ^^^^^^^^^^^^^^^^^^^^^^^
> +        nal_end = avc_find_startcode(nal_start, end);
> +        put_be32(&pb, nal_end - nal_start);

Isn't this a bit dangerous?

BTW I think you're doing a great job Baptiste! Cheers!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2771 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060311/b19dfa3f/attachment.bin>



More information about the ffmpeg-devel mailing list