aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Converse <alex.converse@gmail.com>2011-11-27 15:48:20 -0800
committerAlex Converse <alex.converse@gmail.com>2011-11-27 15:57:38 -0800
commit999e7ebd235058d4b006b8445def2186b5757262 (patch)
tree2af30ab2c7ce86d763d2ff3031e5ffc7e3399679
parent1f948745c3cbe45c4ccd5d8996fc885d826bf3ff (diff)
downloadffmpeg-999e7ebd235058d4b006b8445def2186b5757262.tar.gz
dca: Replace oversized unused get_bits() with skip_bits_long().
-rw-r--r--libavcodec/dca.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/dca.c b/libavcodec/dca.c
index 9d24b595c2..21a245585d 100644
--- a/libavcodec/dca.c
+++ b/libavcodec/dca.c
@@ -520,7 +520,7 @@ static int dca_parse_frame_header(DCAContext * s)
init_get_bits(&s->gb, s->dca_buffer, s->dca_buffer_size * 8);
/* Sync code */
- get_bits(&s->gb, 32);
+ skip_bits_long(&s->gb, 32);
/* Frame header */
s->frame_type = get_bits(&s->gb, 1);
@@ -1258,7 +1258,7 @@ static int dca_subframe_footer(DCAContext * s, int base_channel)
/* presumably optional information only appears in the core? */
if (!base_channel) {
if (s->timestamp)
- get_bits(&s->gb, 32);
+ skip_bits_long(&s->gb, 32);
if (s->aux_data)
aux_data_count = get_bits(&s->gb, 6);