Commit 7ccc0ed6 authored by Michael Niedermayer's avatar Michael Niedermayer

nutdec: print error on invalid/unsupported fourcc style

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 144da7ee
......@@ -73,8 +73,10 @@ static uint64_t get_fourcc(AVIOContext *bc)
return avio_rl16(bc);
else if (len == 4)
return avio_rl32(bc);
else
else {
av_log(NULL, AV_LOG_ERROR, "Unsupported fourcc length %d\n", len);
return -1;
}
}
#ifdef TRACE
......
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