diff options
author | Måns Rullgård <mans@mansr.com> | 2005-08-14 15:42:40 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2005-08-14 15:42:40 +0000 |
commit | bf4e3bd2d0263169ebf5d88972ae319ecb0d7a1e (patch) | |
tree | 21994d3ba7eb77248e57a7291217c45816ce7648 /libavformat/nsvdec.c | |
parent | 72ce053b9cc9fc7fddce15ea8833a3783fef3540 (diff) | |
download | ffmpeg-bf4e3bd2d0263169ebf5d88972ae319ecb0d7a1e.tar.gz |
kill a bunch of compiler warnings
Originally committed as revision 4522 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/nsvdec.c')
-rw-r--r-- | libavformat/nsvdec.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libavformat/nsvdec.c b/libavformat/nsvdec.c index 27c7abc8cc..3082cff1c5 100644 --- a/libavformat/nsvdec.c +++ b/libavformat/nsvdec.c @@ -297,8 +297,8 @@ static int nsv_parse_NSVf_header(AVFormatContext *s, AVFormatParameters *ap) //s->file_size = (uint32_t)get_le32(pb); file_size = (uint32_t)get_le32(pb); - PRINT(("NSV NSVf chunk_size %ld\n", size)); - PRINT(("NSV NSVf file_size %Ld\n", file_size)); + PRINT(("NSV NSVf chunk_size %u\n", size)); + PRINT(("NSV NSVf file_size %u\n", file_size)); nsv->duration = duration = get_le32(pb); /* in ms */ PRINT(("NSV NSVf duration %Ld ms\n", duration)); @@ -561,7 +561,7 @@ null_chunk_retry: asize = get_le16(pb); vsize = (vsize << 4) | (auxcount >> 4); auxcount &= 0x0f; - PRINT(("NSV CHUNK %d aux, %ld bytes video, %d bytes audio\n", auxcount, vsize, asize)); + PRINT(("NSV CHUNK %d aux, %u bytes video, %d bytes audio\n", auxcount, vsize, asize)); /* skip aux stuff */ for (i = 0; i < auxcount; i++) { auxsize = get_le16(pb); @@ -614,7 +614,7 @@ null_chunk_retry: channels = get_byte(pb); samplerate = get_le16(pb); asize-=4; - PRINT(("NSV RAWAUDIO: bps %d, nchan %d, srate %ld\n", bps, channels, samplerate)); + PRINT(("NSV RAWAUDIO: bps %d, nchan %d, srate %d\n", bps, channels, samplerate)); if (fill_header) { st[NSV_ST_AUDIO]->need_parsing = 0; /* we know everything */ if (bps != 16) { @@ -629,7 +629,7 @@ null_chunk_retry: st[NSV_ST_AUDIO]->codec->sample_rate = samplerate; av_set_pts_info(st[NSV_ST_AUDIO], 64, 1, st[NSV_ST_AUDIO]->codec->sample_rate); - PRINT(("NSV RAWAUDIO: bps %d, nchan %d, srate %ld\n", bps, channels, samplerate)); + PRINT(("NSV RAWAUDIO: bps %d, nchan %d, srate %d\n", bps, channels, samplerate)); } } av_get_packet(pb, pkt, asize); |