comparison parser.c @ 9091:4875c1559060 libavcodec

Favor container packets that end after the first byte of the access unit in fetch_timestamp(). This should make no difference for valid streams but may help invalid ones, also its needed for future changes.
author michael
date Mon, 02 Mar 2009 15:12:26 +0000
parents cecf81f93756
children 65f47b345904
comparison
equal deleted inserted replaced
9090:cecf81f93756 9091:4875c1559060
94 s->dts= s->cur_frame_dts[i]; 94 s->dts= s->cur_frame_dts[i];
95 s->pts= s->cur_frame_pts[i]; 95 s->pts= s->cur_frame_pts[i];
96 s->offset = s->next_frame_offset - s->cur_frame_offset[i]; 96 s->offset = s->next_frame_offset - s->cur_frame_offset[i];
97 if(remove) 97 if(remove)
98 s->cur_frame_offset[i]= INT64_MAX; 98 s->cur_frame_offset[i]= INT64_MAX;
99 if(s->cur_offset + off < s->cur_frame_end[i])
100 break;
99 } 101 }
100 } 102 }
101 } 103 }
102 104
103 /** 105 /**