comparison libmpdemux/demux_nsv.c @ 34144:beafae9de2be

Employ correct off_t printf conversion specifiers; this time without typos. This fixes a handful of warnings like libmpcodecs/ve_vfw.c:150:7: warning: format '%d' expects type 'int', but argument 4 has type '__off64_t'
author diego
date Fri, 21 Oct 2011 15:44:58 +0000
parents cc8dfde2b6c5
children f3c835ddce85
comparison
equal deleted inserted replaced
34143:3f73c0da20c7 34144:beafae9de2be
74 stream_read(demuxer->stream,hdr,7); 74 stream_read(demuxer->stream,hdr,7);
75 if(stream_eof(demuxer->stream)) return 0; 75 if(stream_eof(demuxer->stream)) return 0;
76 // sometimes instead of 0xBEEF as described for the next audio/video chunk we get 76 // sometimes instead of 0xBEEF as described for the next audio/video chunk we get
77 // a whole new header 77 // a whole new header
78 78
79 mp_dbg(MSGT_DEMUX, MSGL_DBG2, "demux_nsv: %08X %08"PRIu64"X\n", 79 mp_dbg(MSGT_DEMUX, MSGL_DBG2, "demux_nsv: %08X %08"PRIX64"\n",
80 hdr[0] << 8 | hdr[1], stream_tell(demuxer->stream)); 80 hdr[0] << 8 | hdr[1], stream_tell(demuxer->stream));
81 switch(hdr[0]<<8|hdr[1]) { 81 switch(hdr[0]<<8|hdr[1]) {
82 case 0x4E53: 82 case 0x4E53:
83 if(hdr[2]==0x56 && hdr[3]==0x73){ 83 if(hdr[2]==0x56 && hdr[3]==0x73){
84 // NSVs 84 // NSVs