X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.0%2Flibzmpeg3%2Fdemux.C;h=aed0b0377327813760e450c892dcbaf00532cc42;hb=d7079fb6d5f3d12bc85f5413113890bc80dd22f2;hp=ce9f3d05c582ed5dd7e068bd8eb96921f3190fc6;hpb=2d99bb8ce591f05a31464b517d85dc2bc35b2abe;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.0/libzmpeg3/demux.C b/cinelerra-5.0/libzmpeg3/demux.C index ce9f3d05..aed0b037 100644 --- a/cinelerra-5.0/libzmpeg3/demux.C +++ b/cinelerra-5.0/libzmpeg3/demux.C @@ -884,7 +884,7 @@ get_program_pes_packet( uint32_t header) //dmp(&nav->dsi[0],NAV_DSI_BYTES); pes_packet_length -= NAV_DSI_BYTES; int64_t blk_pos = ((int64_t)nav->dsi_gi_pck_lbn() & 0x7fffffffU) * DVD_PACKET_SIZE; - if( last_packet_start != blk_pos ) + if( blk_pos != 0 && last_packet_start != blk_pos ) zmsgs("blk_pos "_LX" != "_LX" last_packet_start\n", blk_pos, last_packet_start); int64_t next_pos, next_vobu, end_byte, end_pos; int64_t blk_size = (int64_t)nav->dsi_gi_vobu_ea() * DVD_PACKET_SIZE;