summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rtp_profile_jpeg.cc15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/rtp_profile_jpeg.cc b/src/rtp_profile_jpeg.cc
index c597fe6..a919db4 100644
--- a/src/rtp_profile_jpeg.cc
+++ b/src/rtp_profile_jpeg.cc
@@ -55,12 +55,12 @@
#endif
#if 0
-#define GST_LOG(fmt, ...) printf("\nLOG\t"fmt)
-#define GST_WARNING(fmt, ...) printf("\nWARN:\t"fmt)
-#define GST_ELEMENT_WARNING(fmt, ...) printf("\nWARN\t"fmt)
-#define GST_WARNING_OBJECT(fmt, ...) printf("\nWARN\t"fmt)
-#define GST_LOG_OBJECT(fmt, ...) printf("\nLOG:\t"fmt)
-#define GST_DEBUG_OBJECT(fmt, ...) printf("\nDEBUG:\t"fmt)
+#define GST_LOG(fmt ...) printf("\nLOG\t"fmt)
+#define GST_WARNING(fmt ...) printf("\nWARN:\t"fmt)
+#define GST_ELEMENT_WARNING(fmt ...) printf("\nWARN\t"fmt)
+#define GST_WARNING_OBJECT(fmt ...) printf("\nWARN\t"fmt)
+#define GST_LOG_OBJECT(fmt ...) printf("\nLOG:\t"fmt)
+#define GST_DEBUG_OBJECT(fmt ...) printf("\nDEBUG:\t"fmt)
#else
#define GST_LOG(fmt, ...)
#define GST_WARNING(fmt, ...)
@@ -346,7 +346,8 @@ static unsigned int gst_rtp_jpeg_pay_read_quant_table(const unsigned char *data,
if (quant_size < tab_size + 1)
goto no_table;
- GST_LOG("read quant table %d, tab_size %d, prec %02x", id, tab_size, prec);
+ GST_LOG("read quant table %d, tab_size %d, prec %02x",
+ (int)id, (int)tab_size, (unsigned int)prec);
tables[id].size = tab_size;
tables[id].data = &data[offset + 1];