Changeset cf34ca7b9307806bedb90f37e40e03de8a84e35b

Show
Ignore:
Timestamp:
03/31/08 10:17:53 (5 months ago)
Author:
Jean-Paul Saman <jpsaman@videolan.org>
git-committer:
Jean-Paul Saman <jpsaman@videolan.org> 1206951473 +0200
git-parent:

[96fca586a4d2b5e03545733acde884326616bca8]

git-author:
Rafaël Carré <funman@videolan.org> 1206950036 +0200
Message:

h264: fix maximum size calculation

Files:

Legend:

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

    r96fca58 rcf34ca7  
    449449 
    450450        if( i_size <= 0 || 
    451             i_size >= ( p - p_block->p_buffer + p_block->i_buffer ) ) 
     451            i_size > ( p_block->p_buffer + p_block->i_buffer - p ) ) 
    452452        { 
    453453            msg_Err( p_dec, "Broken frame : size %d is too big", i_size );