qtdemux: Correctly parse classification tags

In clsf atoms, the language code is 2 bytes long, not 4.
This commit is contained in:
Thiago Santos 2009-12-12 16:28:36 -03:00
parent 66d3ac8fb7
commit cd883aa60c

View file

@ -5633,8 +5633,7 @@ qtdemux_tag_add_classification (GstQTDemux * qtdemux, const char *tag,
table = QT_UINT16 ((guint8 *) node->data + offset);
/* Language code skipped */
offset += 4;
offset += 2;
/* Tag format: "XXXX://Y[YYYY]/classification info string"
* XXXX: classification entity, fixed length 4 chars.