You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
wmavoice: Simplify GetBitContext initialization
This commit is contained in:
@@ -1672,9 +1672,7 @@ static int check_bits_for_superframe(GetBitContext *orig_gb,
|
||||
const struct frame_type_desc *frame_desc;
|
||||
|
||||
/* initialize a copy */
|
||||
init_get_bits(gb, orig_gb->buffer, orig_gb->size_in_bits);
|
||||
skip_bits_long(gb, get_bits_count(orig_gb));
|
||||
assert(get_bits_left(gb) == get_bits_left(orig_gb));
|
||||
*gb = *orig_gb;
|
||||
|
||||
/* superframe header */
|
||||
if (get_bits_left(gb) < 14)
|
||||
|
Reference in New Issue
Block a user