You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avcodec/vc1_parser: use init_get_bits8()
This commit is contained in:
@@ -67,7 +67,7 @@ static void vc1_extract_header(AVCodecParserContext *s, AVCodecContext *avctx,
|
||||
int ret;
|
||||
vpc->v.s.avctx = avctx;
|
||||
vpc->v.parse_only = 1;
|
||||
init_get_bits(&gb, buf, buf_size * 8);
|
||||
init_get_bits8(&gb, buf, buf_size);
|
||||
switch (vpc->prev_start_code) {
|
||||
case VC1_CODE_SEQHDR & 0xFF:
|
||||
ff_vc1_decode_sequence_header(avctx, &vpc->v, &gb);
|
||||
|
Reference in New Issue
Block a user