comparison libmpdemux/demux_lmlm4.c @ 33841:25667edae85c

cleanup: adjust printf format strings to match parameter types This eliminates a bunch of related compiler warnings.
author diego
date Wed, 27 Jul 2011 13:40:06 +0000
parents a86413775fbe
children 8f81a826c86e
comparison
equal deleted inserted replaced
33840:dac9d4f90e89 33841:25667edae85c
71 { 71 {
72 if ( frame->channelNo > 7 || 72 if ( frame->channelNo > 7 ||
73 frame->frameSize > MAX_PACKET_SIZE || frame->frameSize <= 0) 73 frame->frameSize > MAX_PACKET_SIZE || frame->frameSize <= 0)
74 { 74 {
75 mp_msg(MSGT_DEMUX, MSGL_V, 75 mp_msg(MSGT_DEMUX, MSGL_V,
76 "Invalid packet in LMLM4 stream: ch=%d size=%zd\n", 76 "Invalid packet in LMLM4 stream: ch=%d size=%zu\n",
77 frame->channelNo, frame->frameSize); 77 frame->channelNo, frame->frameSize);
78 return 0; 78 return 0;
79 } 79 }
80 switch (frame->frameType) { 80 switch (frame->frameType) {
81 case FRAMETYPE_I: 81 case FRAMETYPE_I:
156 } 156 }
157 157
158 frameInfo->frameSize = packetSize - 8; //sizeof(IME6400Header); 158 frameInfo->frameSize = packetSize - 8; //sizeof(IME6400Header);
159 frameInfo->paddingSize = (packetSize & PACKET_BLOCK_LAST) ? PACKET_BLOCK_SIZE - (packetSize & PACKET_BLOCK_LAST) : 0; 159 frameInfo->paddingSize = (packetSize & PACKET_BLOCK_LAST) ? PACKET_BLOCK_SIZE - (packetSize & PACKET_BLOCK_LAST) : 0;
160 160
161 mp_msg(MSGT_DEMUX, MSGL_DBG2, "typ: %d chan: %d size: %zd pad: %zd\n", 161 mp_msg(MSGT_DEMUX, MSGL_DBG2, "typ: %d chan: %d size: %zu pad: %zu\n",
162 frameInfo->frameType, 162 frameInfo->frameType,
163 frameInfo->channelNo, 163 frameInfo->channelNo,
164 frameInfo->frameSize, 164 frameInfo->frameSize,
165 frameInfo->paddingSize); 165 frameInfo->paddingSize);
166 166