Mercurial > libavcodec.hg
diff parser.c @ 4652:6679d37a3338 libavcodec
Give context to dprintf
| author | mbardiaux |
|---|---|
| date | Mon, 12 Mar 2007 12:36:41 +0000 |
| parents | 5683b496ffbc |
| children | acdd4b24f5c5 |
line wrap: on
line diff
--- a/parser.c Sun Mar 11 21:01:33 2007 +0000 +++ b/parser.c Mon Mar 12 12:36:41 2007 +0000 @@ -451,7 +451,7 @@ /* no sync found : move by one byte (inefficient, but simple!) */ memmove(s->inbuf, s->inbuf + 1, s->inbuf_ptr - s->inbuf - 1); s->inbuf_ptr--; - dprintf("skip %x\n", header); + dprintf(avctx, "skip %x\n", header); /* reset free format frame size to give a chance to get a new bitrate */ s->free_format_frame_size = 0; @@ -515,7 +515,7 @@ s->free_format_frame_size -= padding * 4; else s->free_format_frame_size -= padding; - dprintf("free frame size=%d padding=%d\n", + dprintf(avctx, "free frame size=%d padding=%d\n", s->free_format_frame_size, padding); decode_header(s, header1); goto next_data;
