diff options
author | Clément Bœsch <ubitux@gmail.com> | 2011-05-29 21:07:34 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-05-30 00:24:01 +0200 |
commit | adba9c63525b8971fc6ccda47e643dca05c3ee9d (patch) | |
tree | 7f4521c4ceaf684a4cdc4f8b57db30a4364c35e0 /libavformat/asfdec.c | |
parent | fd38a15adf7f4e20f25d89f162e4a8fbbd8ec92e (diff) | |
download | ffmpeg-adba9c63525b8971fc6ccda47e643dca05c3ee9d.tar.gz |
Fix various unused variable warnings
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/asfdec.c')
-rw-r--r-- | libavformat/asfdec.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c index 3564bf465f..e2efeef3ea 100644 --- a/libavformat/asfdec.c +++ b/libavformat/asfdec.c @@ -209,7 +209,7 @@ static int asf_read_stream_properties(AVFormatContext *s, int64_t size) ff_asf_guid g; enum AVMediaType type; int type_specific_size, sizeX; - uint64_t total_size; + uint64_t total_size av_unused; unsigned int tag1; int64_t pos1, pos2, start_time; int test_for_ext_stream_audio, is_dvr_ms_audio=0; @@ -393,7 +393,7 @@ static int asf_read_ext_stream_properties(AVFormatContext *s, int64_t size) AVIOContext *pb = s->pb; ff_asf_guid g; int ext_len, payload_ext_ct, stream_ct, i; - uint32_t ext_d, leak_rate, stream_num; + uint32_t ext_d av_unused, leak_rate, stream_num; unsigned int stream_languageid_index; avio_rl64(pb); // starttime @@ -511,7 +511,7 @@ static int asf_read_metadata(AVFormatContext *s, int64_t size) { AVIOContext *pb = s->pb; ASFContext *asf = s->priv_data; - int n, stream_num, name_len, value_len, value_type, value_num; + int n, stream_num, name_len, value_len, value_type av_unused, value_num; int ret, i; n = avio_rl16(pb); @@ -626,7 +626,7 @@ static int asf_read_header(AVFormatContext *s, AVFormatParameters *ap) // if so the next iteration will pick it up continue; } else if (!ff_guidcmp(&g, &ff_asf_head1_guid)) { - int v1, v2; + av_unused int v1, v2; ff_get_guid(pb, &g); v1 = avio_rl32(pb); v2 = avio_rl16(pb); @@ -799,7 +799,7 @@ static int asf_read_frame_header(AVFormatContext *s, AVIOContext *pb){ ASFContext *asf = s->priv_data; int rsize = 1; int num = avio_r8(pb); - int64_t ts0, ts1; + int64_t ts0, ts1 av_unused; asf->packet_segments--; asf->packet_key_frame = num >> 7; |