diff options
author | Steve L'Homme <slhomme@divxcorp.com> | 2006-03-08 11:43:10 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2006-03-08 11:43:10 +0000 |
commit | 267f7edcd1f1f31595610b4de29a8c4d3e7929c5 (patch) | |
tree | d1edfb074219890a54453b0070072867988054cc /libavcodec/h264.c | |
parent | 6f3dda9328568b38e81580d6cdf6f4ffdbbe07df (diff) | |
download | ffmpeg-267f7edcd1f1f31595610b4de29a8c4d3e7929c5.tar.gz |
(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.c | 2 |
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; |