diff options
author | Mans Rullgard <mans@mansr.com> | 2011-06-01 17:26:27 +0100 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2011-06-02 20:06:00 +0100 |
commit | e65ab9d94f1c8d8893e32d90467d9525625d306a (patch) | |
tree | 032ea02dc36a1510af2807848d961f024e8a052e /libavformat/rtpdec_latm.c | |
parent | 808d8ff6bb92e641cdd99a0b06767eabd707b925 (diff) | |
download | ffmpeg-e65ab9d94f1c8d8893e32d90467d9525625d306a.tar.gz |
Remove unused variables
Diffstat (limited to 'libavformat/rtpdec_latm.c')
-rw-r--r-- | libavformat/rtpdec_latm.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libavformat/rtpdec_latm.c b/libavformat/rtpdec_latm.c index bde34b7ab9..42317a9529 100644 --- a/libavformat/rtpdec_latm.c +++ b/libavformat/rtpdec_latm.c @@ -108,8 +108,7 @@ static int parse_fmtp_config(AVStream *st, char *value) int len = ff_hex_to_data(NULL, value), i, ret = 0; GetBitContext gb; uint8_t *config; - int audio_mux_version, same_time_framing, num_sub_frames, - num_programs, num_layers; + int audio_mux_version, same_time_framing, num_programs, num_layers; /* Pad this buffer, too, to avoid out of bounds reads with get_bits below */ config = av_mallocz(len + FF_INPUT_BUFFER_PADDING_SIZE); @@ -119,7 +118,7 @@ static int parse_fmtp_config(AVStream *st, char *value) init_get_bits(&gb, config, len*8); audio_mux_version = get_bits(&gb, 1); same_time_framing = get_bits(&gb, 1); - num_sub_frames = get_bits(&gb, 6); + skip_bits(&gb, 6); /* num_sub_frames */ num_programs = get_bits(&gb, 4); num_layers = get_bits(&gb, 3); if (audio_mux_version != 0 || same_time_framing != 1 || num_programs != 0 || |