lavc/fic: Do not warn about empty cursor.

Fixes ticket #5174.
pull/208/merge
Carl Eugen Hoyos 9 years ago
parent 47a11ff457
commit 00ffbdfb68
  1. 2
      libavcodec/fic.c

@ -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) {

Loading…
Cancel
Save