diff cljr.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 8d3540dddd1b
line wrap: on
line diff
--- a/cljr.c	Sun Nov 02 23:19:47 2003 +0000
+++ b/cljr.c	Mon Nov 03 13:26:22 2003 +0000
@@ -55,7 +55,7 @@
 
     p->reference= 0;
     if(avctx->get_buffer(avctx, p) < 0){
-        fprintf(stderr, "get_buffer() failed\n");
+        av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n");
         return -1;
     }
     p->pict_type= I_TYPE;