- Timestamp:
- 21/08/08 19:08:54 (3 months ago)
- git-parent:
- Files:
-
- modules/packetizer/mpegvideo.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/packetizer/mpegvideo.c
r3561b9b re114bdd 446 446 (p_frag->p_buffer[3] == 0x00 || p_frag->p_buffer[3] > 0xaf) ) 447 447 { 448 const bool b_eos = p_frag->p_buffer[3] == 0xb7; 449 448 450 mtime_t i_duration; 449 451 452 if( b_eos ) 453 { 454 block_ChainLastAppend( &p_sys->pp_last, p_frag ); 455 p_frag = NULL; 456 } 457 450 458 p_pic = block_ChainGather( p_sys->p_frame ); 459 460 if( b_eos ) 461 p_pic->i_flags |= BLOCK_FLAG_END_OF_SEQUENCE; 451 462 452 463 i_duration = (mtime_t)( 1000000 * p_sys->i_frame_rate_base / … … 564 575 } 565 576 577 if( !p_frag ) 578 return p_pic; 566 579 /* 567 580 * Check info of current fragment
