---
 libavcodec/ra288.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/ra288.c b/libavcodec/ra288.c
index c58bc31..ddbda1d 100644
--- a/libavcodec/ra288.c
+++ b/libavcodec/ra288.c
@@ -178,7 +178,7 @@ static int ra288_decode_frame(AVCodecContext * avctx, void 
*data,
         av_log(avctx, AV_LOG_ERROR,
                "Error! Input buffer is too small [%d<%d]\n",
                buf_size, avctx->block_align);
-        return 0;
+        return AVERROR_INVALIDDATA;
     }
 
     out_size = RA288_BLOCK_SIZE * RA288_BLOCKS_PER_FRAME *
-- 
1.7.1

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to