Commit 040450a1 authored by reimar's avatar reimar

10l, forgot to skip payload description in UMF packet parsing


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7878 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 761baf71
......@@ -360,10 +360,11 @@ static int gxf_header(AVFormatContext *s, AVFormatParameters *ap) {
}
}
if (pkt_type == PKT_UMF) {
if (len >= 9) {
if (len >= 0x39) {
AVRational fps;
len -= 9;
url_fskip(pb, 5);
len -= 0x39;
url_fskip(pb, 5); // preamble
url_fskip(pb, 0x30); // payload description
fps = fps_umf2avr(get_le32(pb));
if (!main_timebase.num || !main_timebase.den) {
// this may not always be correct, but simply the best we can get
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment