diff options
author | Michel Bardiaux <mbardiaux@mediaxim.be> | 2007-03-12 12:36:41 +0000 |
---|---|---|
committer | Michel Bardiaux <mbardiaux@mediaxim.be> | 2007-03-12 12:36:41 +0000 |
commit | 318c5e052415aada4036c382cb0ef243113f667a (patch) | |
tree | 1badf5b9254d9b8807759f59bd6121f9ce180b3b /libavcodec/parser.c | |
parent | ea486ab3bede4fc68b8cccb70791cdfa589a0fcb (diff) | |
download | ffmpeg-318c5e052415aada4036c382cb0ef243113f667a.tar.gz |
Give context to dprintf
Originally committed as revision 8338 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/parser.c')
-rw-r--r-- | libavcodec/parser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/parser.c b/libavcodec/parser.c index 8693cd67f7..009e3ebbde 100644 --- a/libavcodec/parser.c +++ b/libavcodec/parser.c @@ -451,7 +451,7 @@ static int mpegaudio_parse(AVCodecParserContext *s1, /* 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 @@ static int mpegaudio_parse(AVCodecParserContext *s1, 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; |