diff options
Diffstat (limited to 'libavcodec/ra288.c')
-rw-r--r-- | libavcodec/ra288.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/ra288.c b/libavcodec/ra288.c index b59074822b..a44eb96f14 100644 --- a/libavcodec/ra288.c +++ b/libavcodec/ra288.c @@ -244,7 +244,7 @@ static int ra288_decode_frame(AVCodecContext * avctx, int i,j; if(buf_size<w*h) { - fprintf(stderr,"ffra288: Error! Input buffer is too small [%d<%d]\n",buf_size,w*h); + av_log(avctx, AV_LOG_ERROR, "ffra288: Error! Input buffer is too small [%d<%d]\n",buf_size,w*h); return 0; } datao = data; @@ -260,7 +260,7 @@ static int ra288_decode_frame(AVCodecContext * avctx, } else { - fprintf(stderr,"ffra288: Error: need extra data!!!\n"); + av_log(avctx, AV_LOG_ERROR, "ffra288: Error: need extra data!!!\n"); return 0; } } |