diff cinepak.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 860e44e2c20c
children 39ad6cd5d4a6
line wrap: on
line diff
--- a/cinepak.c	Sun Nov 02 23:19:47 2003 +0000
+++ b/cinepak.c	Mon Nov 03 13:26:22 2003 +0000
@@ -418,7 +418,7 @@
     s->size = buf_size;
 
     if (avctx->get_buffer(avctx, &s->frame)) {
-        printf ("  Cinepak: get_buffer() failed\n");
+        av_log(avctx, AV_LOG_ERROR, "  Cinepak: get_buffer() failed\n");
         return -1;
     }