diff options
Diffstat (limited to 'libavcodec/fraps.c')
-rw-r--r-- | libavcodec/fraps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/fraps.c b/libavcodec/fraps.c index bcce97cb75..de98da72ea 100644 --- a/libavcodec/fraps.c +++ b/libavcodec/fraps.c @@ -112,9 +112,9 @@ static int fraps2_decode_plane(FrapsContext *s, uint8_t *dst, int stride, int w, */ if(j) dst[i] += dst[i - stride]; else if(Uoff) dst[i] += 0x80; - if(get_bits_left(&gb) < 0){ + if (get_bits_left(&gb) < 0) { free_vlc(&vlc); - return -1; + return AVERROR_INVALIDDATA; } } dst += stride; |