lavc/fic: Do not warn about empty cursor.

Fixes ticket #5174.
This commit is contained in:
Carl Eugen Hoyos 2016-05-01 15:30:22 +02:00
parent 47a11ff457
commit 00ffbdfb68
1 changed files with 1 additions and 1 deletions

View File

@ -309,7 +309,7 @@ static int fic_decode_frame(AVCodecContext *avctx, void *data,
return AVERROR_INVALIDDATA;
}
if (!tsize)
if (!tsize || !AV_RL16(src + 37) || !AV_RL16(src + 39))
skip_cursor = 1;
if (!skip_cursor && tsize < 32) {