Commit b65923d9 authored by alex's avatar alex

report to user if mmf with midi found (and not supported)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5308 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 44941629
......@@ -202,6 +202,10 @@ static int mmf_read_header(AVFormatContext *s,
}
/* Tag = "ATRx", where "x" = track number */
if ((tag & 0xffffff) == MKTAG('M', 'T', 'R', 0)) {
av_log(s, AV_LOG_ERROR, "MIDI like format found, unsupported\n");
return -1;
}
if ((tag & 0xffffff) != MKTAG('A', 'T', 'R', 0)) {
av_log(s, AV_LOG_ERROR, "Unsupported SMAF chunk %08x\n", tag);
return -1;
......
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