Changeset cc5aad0aba5eb0b6f41ea93850ef7a8989e6d8b4

Show
Ignore:
Timestamp:
08/15/06 01:37:28 (2 years ago)
Author:
Derk-Jan Hartman <hartman@videolan.org>
git-committer:
Derk-Jan Hartman <hartman@videolan.org> 1155598648 +0000
git-parent:

[4598f227ca9f8cb35d6a834577db17aaef1a608d]

git-author:
Derk-Jan Hartman <hartman@videolan.org> 1155598648 +0000
Message:

* first sps, then pps

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/packetizer/h264.c

    r4598f22 rcc5aad0  
    216216        p_dec->fmt_out.i_extra = p_sys->p_pps->i_buffer + p_sys->p_sps->i_buffer; 
    217217        p_dec->fmt_out.p_extra = (uint8_t*)malloc( p_dec->fmt_out.i_extra ); 
    218         memcpy( p_dec->fmt_out.p_extra, p_sys->p_pps->p_buffer, p_sys->p_pps->i_buffer); 
    219         memcpy( p_dec->fmt_out.p_extra+p_sys->p_pps->i_buffer, p_sys->p_sps->p_buffer, p_sys->p_sps->i_buffer); 
     218        memcpy( p_dec->fmt_out.p_extra, p_sys->p_sps->p_buffer, p_sys->p_sps->i_buffer); 
     219        memcpy( p_dec->fmt_out.p_extra+p_sys->p_sps->i_buffer, p_sys->p_pps->p_buffer, p_sys->p_pps->i_buffer); 
    220220 
    221221        /* Set callback */