Mercurial > libavcodec.hg
diff ra288.c @ 1598:932d306bf1dc libavcodec
av_log() patch by (Michel Bardiaux <mbardiaux at peaktime dot be>)
author | michael |
---|---|
date | Mon, 03 Nov 2003 13:26:22 +0000 |
parents | 9a218b289ee0 |
children | f65d87bfdd5a |
line wrap: on
line diff
--- a/ra288.c Sun Nov 02 23:19:47 2003 +0000 +++ b/ra288.c Mon Nov 03 13:26:22 2003 +0000 @@ -244,7 +244,7 @@ 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 @@ } else { - fprintf(stderr,"ffra288: Error: need extra data!!!\n"); + av_log(avctx, AV_LOG_ERROR, "ffra288: Error: need extra data!!!\n"); return 0; } }