comparison h264.c @ 5153:b985439e3e15 libavcodec

fix some printf format specifiers
author mru
date Sat, 16 Jun 2007 14:52:05 +0000
parents 0244bba24b43
children 13386224ff72
comparison
equal deleted inserted replaced
5152:4507b67e71cd 5153:b985439e3e15
7075 s->mb_y--; 7075 s->mb_y--;
7076 } 7076 }
7077 eos = get_cabac_terminate( &h->cabac ); 7077 eos = get_cabac_terminate( &h->cabac );
7078 7078
7079 if( ret < 0 || h->cabac.bytestream > h->cabac.bytestream_end + 2) { 7079 if( ret < 0 || h->cabac.bytestream > h->cabac.bytestream_end + 2) {
7080 av_log(h->s.avctx, AV_LOG_ERROR, "error while decoding MB %d %d, bytestream (%d)\n", s->mb_x, s->mb_y, h->cabac.bytestream_end - h->cabac.bytestream); 7080 av_log(h->s.avctx, AV_LOG_ERROR, "error while decoding MB %d %d, bytestream (%td)\n", s->mb_x, s->mb_y, h->cabac.bytestream_end - h->cabac.bytestream);
7081 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); 7081 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);
7082 return -1; 7082 return -1;
7083 } 7083 }
7084 7084
7085 if( ++s->mb_x >= s->mb_width ) { 7085 if( ++s->mb_x >= s->mb_width ) {