(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
This commit is contained in:
Steve L'Homme
2006-03-08 11:43:10 +00:00
committed by Diego Biurrun
parent 6f3dda9328
commit 267f7edcd1
11 changed files with 51 additions and 51 deletions

View File

@@ -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;