mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-06 15:21:15 +00:00
nutdec: print error on invalid/unsupported fourcc style
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
144da7eeca
commit
7ccc0ed6a0
@ -73,8 +73,10 @@ static uint64_t get_fourcc(AVIOContext *bc)
|
|||||||
return avio_rl16(bc);
|
return avio_rl16(bc);
|
||||||
else if (len == 4)
|
else if (len == 4)
|
||||||
return avio_rl32(bc);
|
return avio_rl32(bc);
|
||||||
else
|
else {
|
||||||
|
av_log(NULL, AV_LOG_ERROR, "Unsupported fourcc length %d\n", len);
|
||||||
return -1;
|
return -1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef TRACE
|
#ifdef TRACE
|
||||||
|
Loading…
Reference in New Issue
Block a user