[libav-bugs] [Bug 257] [mpegts @ 01f1ba00] Predefined SLConfigDescriptor not implemented.

bugzilla-daemon at aruru.libav.org bugzilla-daemon at aruru.libav.org
Tue Apr 10 11:39:42 CEST 2012


https://bugzilla.libav.org/show_bug.cgi?id=257

--- Comment #1 from Mark <mark_wil at y7mail.com> 2012-04-10 11:39:42 CEST ---
Error Generated in the following piece of code (mpegts.c)

static int parse_MP4SLDescrTag(MP4DescrParseContext *d, int64_t off, int len)
{


Mp4Descr *descr = d->active_descr;
int predefined;
if (!descr)


return -1;


predefined = avio_r8(&d->pb);
if (!predefined) {


int lengths;
int flags = avio_r8(&d->pb);
descr->sl.use_au_start = !!(flags & 0x80);
descr->sl.use_au_end = !!(flags & 0x40);
descr->sl.use_rand_acc_pt = !!(flags & 0x20);
descr->sl.use_padding = !!(flags & 0x08);
descr->sl.use_timestamps = !!(flags & 0x04);
descr->sl.use_idle = !!(flags & 0x02);
descr->sl.timestamp_res = avio_rb32(&d->pb);


avio_rb32(&d->pb);


descr->sl.timestamp_len = avio_r8(&d->pb);
descr->sl.ocr_len = avio_r8(&d->pb);
descr->sl.au_len = avio_r8(&d->pb);
descr->sl.inst_bitrate_len = avio_r8(&d->pb);
lengths = avio_rb16(&d->pb);
descr->sl.degr_prior_len = lengths >> 12;
descr->sl.au_seq_num_len = (lengths >> 7) & 0x1f;
descr->sl.packet_seq_num_len = (lengths >> 2) & 0x1f;


} else {


av_log_missing_feature(d->s, "Predefined SLConfigDescriptor\n", 0);


}
return 0;


}

-- 
Configure bugmail: https://bugzilla.libav.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the libav-bugs mailing list