Update of /cvsroot/xine/xine-lib/src/libreal
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv25254/src/libreal
Modified Files:
audio_decoder.c xine_decoder.c
Log Message:
Fix a lot of format warnings in lprintf calls (mostly %ldd -> %"PRId64").
Index: audio_decoder.c
===================================================================
RCS file: /cvsroot/xine/xine-lib/src/libreal/audio_decoder.c,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -r1.50 -r1.51
--- audio_decoder.c 19 Dec 2006 19:10:51 -0000 1.50
+++ audio_decoder.c 20 Feb 2007 00:34:57 -0000 1.51
@@ -443,7 +443,7 @@
static void realdec_decode_data (audio_decoder_t *this_gen, buf_element_t
*buf) {
realdec_decoder_t *this = (realdec_decoder_t *) this_gen;
- lprintf ("decode_data %d bytes, flags=0x%08x, pts=%lld ...\n",
+ lprintf ("decode_data %d bytes, flags=0x%08x, pts=%"PRId64" ...\n",
buf->size, buf->decoder_flags, buf->pts);
if (buf->decoder_flags & BUF_FLAG_PREVIEW) {
Index: xine_decoder.c
===================================================================
RCS file: /cvsroot/xine/xine-lib/src/libreal/xine_decoder.c,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -r1.84 -r1.85
--- xine_decoder.c 19 Dec 2006 19:10:51 -0000 1.84
+++ xine_decoder.c 20 Feb 2007 00:34:57 -0000 1.85
@@ -262,7 +262,7 @@
this->duration = 90000.0 / this->fps;
#endif
- lprintf("this->ratio=%d\n", this->ratio);
+ lprintf("this->ratio=%f\n", this->ratio);
lprintf ("init_data.w=%d(0x%x), init_data.h=%d(0x%x),"
"this->width=%d(0x%x), this->height=%d(0x%x)\n",
@@ -338,7 +338,7 @@
static void realdec_decode_data (video_decoder_t *this_gen, buf_element_t
*buf) {
realdec_decoder_t *this = (realdec_decoder_t *) this_gen;
- lprintf ("decode_data, flags=0x%08x, len=%d, pts=%lld ...\n",
+ lprintf ("decode_data, flags=0x%08x, len=%d, pts=%"PRId64" ...\n",
buf->decoder_flags, buf->size, buf->pts);
if (buf->decoder_flags & BUF_FLAG_PREVIEW) {
@@ -374,7 +374,7 @@
this->chunk_buffer_size = 0;
this->pts = buf->pts;
- lprintf ("new frame starting, pts=%lld\n", this->pts);
+ lprintf ("new frame starting, pts=%"PRId64"\n", this->pts);
}
if ((this->chunk_buffer_size + buf->size) > this->chunk_buffer_max) {
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Xine-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xine-cvslog