Browse Source

lavc/fic: Do not warn about empty cursor.

Fixes ticket #5174.
tags/n3.1
Carl Eugen Hoyos 9 years ago
parent
commit
00ffbdfb68
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/fic.c

+ 1
- 1
libavcodec/fic.c 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) {


Loading…
Cancel
Save