Mercurial > libavcodec.hg
comparison parser.c @ 4122:daae66c03857 libavcodec
Replace most of the %lld and %llx by their (cleaner) PRI*64 counterparts.
patch by Steve Lhomme, slhomme divxcorp com
author | diego |
---|---|
date | Wed, 01 Nov 2006 22:39:58 +0000 |
parents | 04ff8026d9c0 |
children | c09e31f70a30 |
comparison
equal
deleted
inserted
replaced
4121:fb40acd09af3 | 4122:daae66c03857 |
---|---|
125 } | 125 } |
126 } | 126 } |
127 | 127 |
128 /* WARNING: the returned index can be negative */ | 128 /* WARNING: the returned index can be negative */ |
129 index = s->parser->parser_parse(s, avctx, poutbuf, poutbuf_size, buf, buf_size); | 129 index = s->parser->parser_parse(s, avctx, poutbuf, poutbuf_size, buf, buf_size); |
130 //av_log(NULL, AV_LOG_DEBUG, "parser: in:%lld, %lld, out:%lld, %lld, in:%d out:%d id:%d\n", pts, dts, s->last_pts, s->last_dts, buf_size, *poutbuf_size, avctx->codec_id); | 130 //av_log(NULL, AV_LOG_DEBUG, "parser: in:%"PRId64", %"PRId64", out:%"PRId64", %"PRId64", in:%d out:%d id:%d\n", pts, dts, s->last_pts, s->last_dts, buf_size, *poutbuf_size, avctx->codec_id); |
131 /* update the file pointer */ | 131 /* update the file pointer */ |
132 if (*poutbuf_size) { | 132 if (*poutbuf_size) { |
133 /* fill the data for the current frame */ | 133 /* fill the data for the current frame */ |
134 s->frame_offset = s->last_frame_offset; | 134 s->frame_offset = s->last_frame_offset; |
135 s->pts = s->last_pts; | 135 s->pts = s->last_pts; |