diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-11-29 00:20:29 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-11-29 00:20:29 +0100 |
commit | 4dcd1a3145dd93602b86a44ebc07d98ca2a30ab6 (patch) | |
tree | 694f5d2cba955bc53de20f8fb81cb54439ae5279 /libavcodec/dca.c | |
parent | 4b03d960220d15cb915c2c8f15970d2f36f25cd9 (diff) | |
parent | ac47e014bbaf5163871a8beb7522015e0bc27615 (diff) | |
download | ffmpeg-4dcd1a3145dd93602b86a44ebc07d98ca2a30ab6.tar.gz |
Merge remote-tracking branch 'qatar/master'
* qatar/master:
adtsenc: Check frame size.
txd: Fix order of operations.
APIchanges: fill in some blanks
timer: fix misspelling of "decicycles"
Eliminate pointless 0/NULL initializers in AVCodec and similar declarations.
indeo3: cosmetics
md5proto: Fix order of operations.
dca: Replace oversized unused get_bits() with skip_bits_long().
Conflicts:
doc/APIchanges
libavformat/mmsh.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/dca.c')
-rw-r--r-- | libavcodec/dca.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/dca.c b/libavcodec/dca.c index 07a9c0a484..edafb967b4 100644 --- a/libavcodec/dca.c +++ b/libavcodec/dca.c @@ -519,7 +519,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); @@ -1257,7 +1257,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); |