comparison h261dec.c @ 9999:c78fd9154378 libavcodec

Change av_log() calls surrounded by '#ifdef DEBUG' into dprintf macros.
author diego
date Thu, 30 Jul 2009 21:00:08 +0000
parents 0a18297bc905
children 95f3daa991a2
comparison
equal deleted inserted replaced
9998:6b229807a182 9999:c78fd9154378
550 H261Context *h= avctx->priv_data; 550 H261Context *h= avctx->priv_data;
551 MpegEncContext *s = &h->s; 551 MpegEncContext *s = &h->s;
552 int ret; 552 int ret;
553 AVFrame *pict = data; 553 AVFrame *pict = data;
554 554
555 #ifdef DEBUG 555 dprintf(avctx, "*****frame %d size=%d\n", avctx->frame_number, buf_size);
556 av_log(avctx, AV_LOG_DEBUG, "*****frame %d size=%d\n", avctx->frame_number, buf_size); 556 dprintf(avctx, "bytes=%x %x %x %x\n", buf[0], buf[1], buf[2], buf[3]);
557 av_log(avctx, AV_LOG_DEBUG, "bytes=%x %x %x %x\n", buf[0], buf[1], buf[2], buf[3]);
558 #endif
559 s->flags= avctx->flags; 557 s->flags= avctx->flags;
560 s->flags2= avctx->flags2; 558 s->flags2= avctx->flags2;
561 559
562 h->gob_start_code_skipped=0; 560 h->gob_start_code_skipped=0;
563 561