History

avcodec/shorten: use init_get_bits8()

Paul B Mahol committed 11 years ago

Commit 94cfb6d1 parent c0d676f1 file · +2 −1Browse files

Unified · Split

libavcodec/shorten.c+2−1
@@ -466,7 +466,8 @@ static int shorten_decode_frame(AVCodecContext *avctx, void *data, · 465 unmodified lines
466 }466 }
467 }467 }
468 /* init and position bitstream reader */468 /* init and position bitstream reader */
469 init_get_bits(&s->gb, buf, buf_size * 8);469 if ((ret = init_get_bits8(&s->gb, buf, buf_size)) < 0)
470 return ret;
470 skip_bits(&s->gb, s->bitindex);471 skip_bits(&s->gb, s->bitindex);
471 472
472 /* process header or next subblock */473 /* process header or next subblock */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t