Lines Matching refs:next_ofs
2228 * @return next_ofs if OK, <0 on error
2232 int64_t last_ofs = -1, next_ofs = -1;
2242 if (mxf_edit_unit_absolute_offset(mxf, t, mxf->current_edit_unit + 1, NULL, &next_ofs, 0) < 0)
2245 if (next_ofs <= last_ofs) {
2246 /* large next_ofs didn't change or current_edit_unit wrapped
2249 "next_ofs didn't change. not deriving packet timestamps\n");
2253 if (next_ofs > current_offset)
2256 last_ofs = next_ofs;
2264 return next_ofs;
2344 int64_t next_ofs, next_klv;
2363 next_ofs = mxf_set_current_edit_unit(mxf, klv.offset);
2365 if (next_ofs >= 0 && next_klv > next_ofs) {
2373 klv.length = next_ofs - avio_tell(s->pb);
2394 if (codec->codec_type == AVMEDIA_TYPE_VIDEO && next_ofs >= 0) {