[vlc-devel] rtp/h264 issue

Ilkka Ollakka ileoo at videolan.org
Tue May 25 21:01:36 CEST 2010


On Wed, Apr 21, 2010 at 09:18:55PM +0400, An L. Ber wrote:

> Hello, Developers!

Hi,

Could you send git-patch version without whitespace-changes ? Guide
howto do this is in
http://wiki.videolan.org/Git#Submitting_patches_to_the_vlc-devel_or_x264-devel

> +
>                      if( i_nal_type == 7 )
> -                    {
> -                        p_64_sps = vlc_b64_encode_binary( &p_buffer[4], i_size - 4 );
> -                        sprintf_hexa( hexa, &p_buffer[5], 3 );
> -                    }
> +   	                {
> +       	                p_64_sps = vlc_b64_encode_binary( p_buffer, i_size );
> +           	            sprintf_hexa( hexa, &p_buffer[5], 3 );
> +   	                }
>                      else if( i_nal_type == 8 )
> -                    {
> -                        p_64_pps = vlc_b64_encode_binary( &p_buffer[4], i_size - 4 );
> -                    }
> -                    i_buffer -= i_size;
> -                    p_buffer += i_size;
> +   	                {
> +       	                p_64_pps = vlc_b64_encode_binary( p_buffer, i_size );
> +   	                }
> +
> +               	    i_buffer -= i_size;
> +                   	p_buffer += i_size;


-- 
Ilkka Ollakka
For some reason, this fortune reminds everyone of Marvin Zelkowitz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20100525/12a0c410/attachment.sig>


More information about the vlc-devel mailing list