diff mjpeg.c @ 2846:40765c51a7a9 libavcodec

Compilation fixes part 1 patch by (Arvind R. and Burkhard Plaum, plaum, ipf uni-stuttgart de)
author michael
date Fri, 26 Aug 2005 19:05:44 +0000
parents 4db6127e20b8
children 5dfb90019814
line wrap: on
line diff
--- a/mjpeg.c	Fri Aug 26 15:41:28 2005 +0000
+++ b/mjpeg.c	Fri Aug 26 19:05:44 2005 +0000
@@ -2183,7 +2183,7 @@
     s->picture.reference = 0;
     if (avctx->get_buffer(avctx, &s->picture) < 0)
     {
-	fprintf(stderr, "get_buffer() failed\n");
+        av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n");
 	return -1;
     }