summaryrefslogtreecommitdiff
path: root/libavcodec/h264.c
diff options
context:
space:
mode:
authorSteve L'Homme <slhomme@divxcorp.com>2006-03-08 11:43:10 +0000
committerDiego Biurrun <diego@biurrun.de>2006-03-08 11:43:10 +0000
commit267f7edcd1f1f31595610b4de29a8c4d3e7929c5 (patch)
treed1edfb074219890a54453b0070072867988054cc /libavcodec/h264.c
parent6f3dda9328568b38e81580d6cdf6f4ffdbbe07df (diff)
(f)printf --> av_log conversion
taken from a patch by Steve L'Homme Originally committed as revision 5127 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r--libavcodec/h264.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index b9f000f217..678a0d0694 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -6977,7 +6977,7 @@ static int decode_slice(H264Context *h){
hl_decode_mb(h);
if(ret<0){
- fprintf(stderr, "error while decoding MB %d %d\n", s->mb_x, s->mb_y);
+ av_log(s->avctx, AV_LOG_ERROR, "error while decoding MB %d %d\n", s->mb_x, s->mb_y);
ff_er_add_slice(s, s->resync_mb_x, s->resync_mb_y, s->mb_x, s->mb_y, (AC_ERROR|DC_ERROR|MV_ERROR)&part_mask);
return -1;