get_bits_left 354 libavcodec/4xm.c if (get_bits_left(&f->gb) < 1) get_bits_left 501 libavcodec/4xm.c if (get_bits_left(&f->gb) < 2){ get_bits_left 502 libavcodec/4xm.c av_log(f->avctx, AV_LOG_ERROR, "%d bits left before decode_i_block()\n", get_bits_left(&f->gb)); get_bits_left 292 libavcodec/aacdec.c asclen = FFMIN(asclen, get_bits_left(gb)); get_bits_left 301 libavcodec/aacdec.c if (get_bits_left(gb) <= 0) get_bits_left 412 libavcodec/aacdec.c if (get_bits_left(gb) < 9) get_bits_left 434 libavcodec/aacdec.c if (get_bits_left(gb) < 8) get_bits_left 465 libavcodec/aacdec.c if (mux_slot_length_bytes < 0 || mux_slot_length_bytes * 8LL > get_bits_left(gb)) { get_bits_left 468 libavcodec/aacdec.c } else if (mux_slot_length_bytes * 8 + 256 < get_bits_left(gb)) { get_bits_left 471 libavcodec/aacdec.c mux_slot_length_bytes * 8, get_bits_left(gb)); get_bits_left 766 libavcodec/aacdec_template.c if (get_bits_left(gb) < 5 * (num_front + num_side + num_back + num_cc) + 4 *(num_lfe + num_assoc_data + num_cc)) { get_bits_left 788 libavcodec/aacdec_template.c if (get_bits_left(gb) < comment_len) { get_bits_left 933 libavcodec/aacdec_template.c if (get_bits_left(gb) < len * 8 + 4) { get_bits_left 1260 libavcodec/aacdec_template.c if (get_bits_left(gb) < 8 * count) { get_bits_left 1449 libavcodec/aacdec_template.c if (get_bits_left(gb) < 0) { get_bits_left 3116 libavcodec/aacdec_template.c skip_bits_long(gb, get_bits_left(gb)); get_bits_left 3247 libavcodec/aacdec_template.c if (get_bits_left(gb) < 8 * elem_id) { get_bits_left 3276 libavcodec/aacdec_template.c if (get_bits_left(gb) < 3) { get_bits_left 106 libavcodec/agm.c if (get_bits_left(gb) < 2) get_bits_left 352 libavcodec/agm.c if (get_bits_left(gb) < 0) get_bits_left 354 libavcodec/agm.c if (get_bits_left(gb) > 0) get_bits_left 355 libavcodec/agm.c av_log(s->avctx, AV_LOG_WARNING, "underread: %d\n", get_bits_left(gb)); get_bits_left 524 libavcodec/agm.c if (get_bits_left(gb) < 0) get_bits_left 526 libavcodec/agm.c if (get_bits_left(gb) > 0) get_bits_left 527 libavcodec/agm.c av_log(s->avctx, AV_LOG_WARNING, "underread: %d\n", get_bits_left(gb)); get_bits_left 863 libavcodec/agm.c if (get_bits_left(gb) <= 0) get_bits_left 1084 libavcodec/agm.c while (get_bits_left(gb) > 0 && x < s->output_size) { get_bits_left 211 libavcodec/aic.c if (get_bits_left(gb) < 5) get_bits_left 123 libavcodec/alac.c if(get_bits_left(&alac->gb) <= 0) get_bits_left 321 libavcodec/alac.c if(get_bits_left(&alac->gb) <= 0) get_bits_left 357 libavcodec/alac.c if(get_bits_left(&alac->gb) <= 0) get_bits_left 429 libavcodec/alac.c while (get_bits_left(&alac->gb) >= 3) { get_bits_left 450 libavcodec/alac.c if (ret < 0 && get_bits_left(&alac->gb)) get_bits_left 314 libavcodec/alsdec.c if (get_bits_left(&gb) < (30 << 3)) get_bits_left 369 libavcodec/alsdec.c if (get_bits_left(&gb) < bits_needed) get_bits_left 399 libavcodec/alsdec.c if (get_bits_left(&gb) < 64) get_bits_left 413 libavcodec/alsdec.c if (get_bits_left(&gb) < ht_size) get_bits_left 424 libavcodec/alsdec.c if (get_bits_left(&gb) < 32) get_bits_left 495 libavcodec/alsdec.c int max = get_bits_left(gb) - k; get_bits_left 1479 libavcodec/alsdec.c if (avctx->channels * 8 > get_bits_left(gb)) get_bits_left 1771 libavcodec/alsdec.c if (get_bits_left(gb) < 0) { get_bits_left 1772 libavcodec/alsdec.c av_log(ctx->avctx, AV_LOG_ERROR, "Overread %d\n", -get_bits_left(gb)); get_bits_left 473 libavcodec/apedec.c x = get_unary(gb, 1, get_bits_left(gb)); get_bits_left 486 libavcodec/apedec.c overflow = get_unary(gb, 1, get_bits_left(gb)); get_bits_left 629 libavcodec/apedec.c if (get_bits_left(&ctx->gb) < 1) { get_bits_left 771 libavcodec/atrac3.c while (i < avctx->channels && get_bits_left(&q->gb) > 6 && show_bits(&q->gb, 6) != 0x28) { get_bits_left 349 libavcodec/atrac3plusdec.c while (get_bits_left(&ctx->gb) >= 2 && get_bits_left 131 libavcodec/av1_parse.h if (get_bits_left(&gb) < 0) get_bits_left 491 libavcodec/bgmc.c if (get_bits_left(gb) < VALUE_BITS) get_bits_left 249 libavcodec/bink.c if (get_bits_left(gb) < 4) get_bits_left 339 libavcodec/bink.c if (get_bits_left(gb) < 1) get_bits_left 363 libavcodec/bink.c if (get_bits_left(gb) < 1) get_bits_left 408 libavcodec/bink.c if (get_bits_left(gb) < 1) get_bits_left 445 libavcodec/bink.c if (get_bits_left(gb) < 2) get_bits_left 466 libavcodec/bink.c if (get_bits_left(gb) < 1) get_bits_left 481 libavcodec/bink.c if (get_bits_left(gb) < 2) get_bits_left 508 libavcodec/bink.c if (get_bits_left(gb) < start_bits - has_sign) get_bits_left 649 libavcodec/bink.c if (get_bits_left(gb) < 4) get_bits_left 1101 libavcodec/bink.c if (get_bits_left(gb) < 4) get_bits_left 185 libavcodec/binkaudio.c if (get_bits_left(gb) < 64) get_bits_left 190 libavcodec/binkaudio.c if (get_bits_left(gb) < 58) get_bits_left 196 libavcodec/binkaudio.c if (get_bits_left(gb) < s->num_bands * 8) get_bits_left 331 libavcodec/binkaudio.c if (!get_bits_left(gb)) { get_bits_left 1105 libavcodec/cavsdec.c if (get_bits_left(&h->gb) < 1) { get_bits_left 1114 libavcodec/cavsdec.c if (get_bits_left(&h->gb) < 1) { get_bits_left 1132 libavcodec/cavsdec.c if (get_bits_left(&h->gb) < 1) { get_bits_left 1141 libavcodec/cavsdec.c if (get_bits_left(&h->gb) < 1) { get_bits_left 495 libavcodec/cbs.c if (get_bits_left(gbc) < width) { get_bits_left 574 libavcodec/cbs.c if (get_bits_left(gbc) < width) { get_bits_left 40 libavcodec/cbs_av1.c if (get_bits_left(gbc) < 1) { get_bits_left 54 libavcodec/cbs_av1.c if (get_bits_left(gbc) < zeroes) { get_bits_left 229 libavcodec/cbs_av1.c if (get_bits_left(gbc) < w) { get_bits_left 326 libavcodec/cbs_av1.c if (get_bits_left(gbc) < 1) { get_bits_left 529 libavcodec/cbs_av1.c for (int i = 0; get_bits_left(&tmp) >= 8; i++) { get_bits_left 777 libavcodec/cbs_av1.c if (get_bits_left(&gbc) < 8) { get_bits_left 47 libavcodec/cbs_h2645.c if (get_bits_left(gbc) < i + 1) { get_bits_left 100 libavcodec/cbs_h2645.c if (get_bits_left(gbc) < i + 1) { get_bits_left 337 libavcodec/cbs_h2645.c int bits_left = get_bits_left(gbc); get_bits_left 86 libavcodec/cbs_mpeg2.c (get_bits_left(rw) >= width && \ get_bits_left 248 libavcodec/cbs_mpeg2.c if (!get_bits_left(&gbc)) get_bits_left 70 libavcodec/cbs_mpeg2_syntax_template.c k = get_bits_left(rw); get_bits_left 38 libavcodec/cbs_vp9.c if (get_bits_left(gbc) < width + 1) { get_bits_left 108 libavcodec/cbs_vp9.c if (get_bits_left(gbc) < 1) { get_bits_left 184 libavcodec/cbs_vp9.c if (get_bits_left(gbc) < width) { get_bits_left 576 libavcodec/clearvideo.c if (get_bits_left(&c->gb) <= 0) get_bits_left 645 libavcodec/clearvideo.c if (get_bits_left(&c->gb) < 0) get_bits_left 646 libavcodec/clearvideo.c av_log(c->avctx, AV_LOG_WARNING, "overread %d\n", -get_bits_left(&c->gb)); get_bits_left 432 libavcodec/cllc.c if(get_bits_left(&gb) < avctx->height * avctx->width) get_bits_left 343 libavcodec/cook.c n = get_unary(gb, 0, get_bits_left(gb)); // amount of elements*2 to update get_bits_left 156 libavcodec/dca_core.c if (get_bits_left(&s->gb) < 0) get_bits_left 404 libavcodec/dca_core.c if (get_bits_left(&s->gb) < 0) get_bits_left 634 libavcodec/dca_core.c if (get_bits_left(&s->gb) < 0) get_bits_left 688 libavcodec/dca_core.c if (get_bits_left(&s->gb) < 0) get_bits_left 950 libavcodec/dca_core.c if (get_bits_left(&s->gb) < 0) get_bits_left 1016 libavcodec/dca_core.c if (get_bits_left(&s->gb) < 0) get_bits_left 1170 libavcodec/dca_core.c if (get_bits_left(&s->gb) < 0) get_bits_left 1206 libavcodec/dca_core.c if (get_bits_left(&s->gb) < 0) get_bits_left 1310 libavcodec/dca_core.c if (get_bits_left(&s->gb) < 0) get_bits_left 1394 libavcodec/dca_core.c if (get_bits_left(&s->gb) < 0) get_bits_left 1621 libavcodec/dca_core.c if (get_bits_left(&s->gb) < 0) get_bits_left 91 libavcodec/dca_exss.c if (get_bits_left(&s->gb) < text_size * 8) get_bits_left 295 libavcodec/dca_lbr.c if (get_bits_left(&s->gb) < 1) { get_bits_left 376 libavcodec/dca_lbr.c if (get_bits_left(&s->gb) < 36) { get_bits_left 415 libavcodec/dca_lbr.c int left = get_bits_left(s); get_bits_left 533 libavcodec/dca_lbr.c if (get_bits_left(&s->gb) < 1) get_bits_left 547 libavcodec/dca_lbr.c if (get_bits_left(&s->gb) < 0) { get_bits_left 568 libavcodec/dca_lbr.c if (get_bits_left(&s->gb) >= 0) get_bits_left 646 libavcodec/dca_lbr.c nblocks = FFMIN(get_bits_left(&s->gb) / 8, DCA_LBR_TIME_SAMPLES / 8); get_bits_left 657 libavcodec/dca_lbr.c for (i = 0; i < DCA_LBR_TIME_SAMPLES && get_bits_left(&s->gb) >= 2; i++) { get_bits_left 664 libavcodec/dca_lbr.c nblocks = FFMIN(get_bits_left(&s->gb) / 8, (DCA_LBR_TIME_SAMPLES + 4) / 5); get_bits_left 675 libavcodec/dca_lbr.c nblocks = FFMIN(get_bits_left(&s->gb) / 7, (DCA_LBR_TIME_SAMPLES + 2) / 3); get_bits_left 685 libavcodec/dca_lbr.c for (i = 0; i < DCA_LBR_TIME_SAMPLES && get_bits_left(&s->gb) >= 6; i++) get_bits_left 690 libavcodec/dca_lbr.c nblocks = FFMIN(get_bits_left(&s->gb) / 4, DCA_LBR_TIME_SAMPLES); get_bits_left 699 libavcodec/dca_lbr.c if (flag && get_bits_left(&s->gb) < 20) get_bits_left 891 libavcodec/dca_lbr.c if (get_bits_left(&s->gb) < 1) { get_bits_left 35 libavcodec/dca_xll.c unsigned int v = get_unary(gb, 1, get_bits_left(gb)); get_bits_left 513 libavcodec/dca_xll.c if (get_bits_left(&s->gb) < 0) get_bits_left 101 libavcodec/dirac_arith.c length = FFMIN(length, get_bits_left(gb)/8); get_bits_left 549 libavcodec/diracdec.c if (get_bits_left(gb) < 1) get_bits_left 684 libavcodec/diracdec.c if (b->length > FFMAX(get_bits_left(&s->gb)/8, 0)) { get_bits_left 685 libavcodec/diracdec.c b->length = FFMAX(get_bits_left(&s->gb)/8, 0); get_bits_left 785 libavcodec/diracdec.c int luma_end = get_bits_count(gb) + FFMIN(luma_bits, get_bits_left(gb)); get_bits_left 799 libavcodec/diracdec.c chroma_end = get_bits_count(gb) + FFMIN(chroma_bits, get_bits_left(gb)); get_bits_left 872 libavcodec/diracdec.c if (length*8 > get_bits_left(gb)) { get_bits_left 970 libavcodec/diracdec.c bufsize = get_bits_left(&s->gb); get_bits_left 142 libavcodec/dolby_e.c if (get_bits_left(&s->gb) < 0) { get_bits_left 456 libavcodec/dolby_e.c if (get_bits_left(&s->gb) < 0) { get_bits_left 133 libavcodec/dstdec.c int v = get_ur_golomb_jpegls(gb, k, get_bits_left(gb), 0); get_bits_left 263 libavcodec/dvdec.c int bits_left = get_bits_left(gb); get_bits_left 424 libavcodec/dvdec.c if (mb->pos < 64 && get_bits_left(&gb) > 0) { get_bits_left 448 libavcodec/dvdec.c if (mb->pos < 64 && get_bits_left(&gb) > 0 && !vs_bit_buffer_damaged) { get_bits_left 339 libavcodec/dxtory.c for (y = 0; y < left && get_bits_left(gb) > 6 * width; y++) { get_bits_left 405 libavcodec/dxtory.c for (y = 0; y < left && get_bits_left(gb) > 6 * width; y++) { get_bits_left 450 libavcodec/dxtory.c for (y = 0; y < left - 3 && get_bits_left(gb) > 9 * width; y += 4) { get_bits_left 494 libavcodec/dxtory.c for (y = 0; y < left - 1 && get_bits_left(gb) > 6 * width; y += 2) { get_bits_left 537 libavcodec/dxtory.c for (y = 0; y < left && get_bits_left(gb) > 6 * width; y++) { get_bits_left 221 libavcodec/eatgv.c if (get_bits_left(&gb) < vector_bits * get_bits_left 91 libavcodec/escape124.c if (size >= INT_MAX / 34 || get_bits_left(gb) < size * 34) get_bits_left 122 libavcodec/escape124.c if (get_bits_left(gb) < 1) get_bits_left 228 libavcodec/escape124.c if (get_bits_left(&gb) < 64 + s->num_superblocks * 23LL / 4320) get_bits_left 313 libavcodec/escape124.c while (get_bits_left(&gb) >= 1 && !get_bits1(&gb)) { get_bits_left 343 libavcodec/escape124.c while (get_bits_left(&gb) >= 1 && !get_bits1(&gb)) { get_bits_left 170 libavcodec/escape130.c if (get_bits_left(gb) < 1+3) get_bits_left 102 libavcodec/ffv1dec.c if (get_bits_left(&s->gb) < 1) get_bits_left 142 libavcodec/fic.c if (get_bits_left(gb) < 8) get_bits_left 427 libavcodec/flacdec.c int left = get_bits_left(&s->gb); get_bits_left 436 libavcodec/flacdec.c wasted = 1 + get_unary(&s->gb, 1, get_bits_left(&s->gb)); get_bits_left 395 libavcodec/flashsv.c if (8 * size > get_bits_left(&gb)) { get_bits_left 121 libavcodec/fraps.c if (get_bits_left(&gb) < 0) { get_bits_left 247 libavcodec/g2meet.c if (get_bits_left(gb) < 1) get_bits_left 491 libavcodec/g726.c if (get_bits_left(&gb) > 0) get_bits_left 856 libavcodec/get_bits.h if (get_bits_left(gb) <= 0) get_bits_left 861 libavcodec/get_bits.h if (get_bits_left(gb) <= 0) get_bits_left 169 libavcodec/golomb.h } while (get_bits_left(gb) > 0); get_bits_left 448 libavcodec/golomb.h i < limit && get_bits1(gb) == 0 && get_bits_left(gb) > 0; get_bits_left 169 libavcodec/h261dec.c left = get_bits_left(&s->gb); get_bits_left 374 libavcodec/h261dec.c if (get_bits_left(&s->gb) <= 7) get_bits_left 484 libavcodec/h261dec.c for (i = get_bits_left(&s->gb); i > 24; i -= 1) { get_bits_left 324 libavcodec/h263dec.c get_bits_left(&s->gb) >= 48 && get_bits_left 332 libavcodec/h263dec.c get_bits_left(&s->gb) >= 0 && get_bits_left 333 libavcodec/h263dec.c get_bits_left(&s->gb) < 137 && get_bits_left 356 libavcodec/h263dec.c get_bits_left(&s->gb) >= 8 && get_bits_left 357 libavcodec/h263dec.c get_bits_left(&s->gb) < 300 && get_bits_left 367 libavcodec/h263dec.c get_bits_left(&s->gb) >= 64 && get_bits_left 383 libavcodec/h263dec.c int left = get_bits_left(&s->gb); get_bits_left 413 libavcodec/h263dec.c get_bits_left(&s->gb), show_bits(&s->gb, 24), s->padding_bug_score); get_bits_left 648 libavcodec/h263dec.c (s->mb_y % s->slice_height) != 0 || get_bits_left(&s->gb) < 0) get_bits_left 785 libavcodec/h264_cavlc.c if (get_bits_left(&sl->gb) < mb_size) { get_bits_left 130 libavcodec/h264_parser.c if (get_bits_left(&gb) > 0 || p->parse_history_count > 5) { get_bits_left 189 libavcodec/h264_ps.c if (show_bits1(gb) && get_bits_left(gb) < 10) { get_bits_left 190 libavcodec/h264_ps.c av_log(logctx, AV_LOG_WARNING, "Truncated VUI (%d)\n", get_bits_left(gb)); get_bits_left 222 libavcodec/h264_ps.c if (!get_bits_left(gb)) get_bits_left 234 libavcodec/h264_ps.c if (get_bits_left(gb) < 0) { get_bits_left 581 libavcodec/h264_ps.c if (get_bits_left(gb) < 0) { get_bits_left 584 libavcodec/h264_ps.c "Overread %s by %d bits\n", sps->vui_parameters_present_flag ? "VUI" : "SPS", -get_bits_left(gb)); get_bits_left 128 libavcodec/h264_sei.c int size_bits = get_bits_left(gb); get_bits_left 423 libavcodec/h264_sei.c while (get_bits_left(gb) > 16 && show_bits(gb, 16)) { get_bits_left 430 libavcodec/h264_sei.c if (get_bits_left(gb) < 8) get_bits_left 436 libavcodec/h264_sei.c if (get_bits_left(gb) < 8) get_bits_left 441 libavcodec/h264_sei.c if (size > get_bits_left(gb) / 8) { get_bits_left 443 libavcodec/h264_sei.c type, 8*size, get_bits_left(gb)); get_bits_left 487 libavcodec/h264_sei.c if (get_bits_left(&gb_payload) < 0) { get_bits_left 489 libavcodec/h264_sei.c type, -get_bits_left(&gb_payload)); get_bits_left 2615 libavcodec/h264_slice.c (get_bits_left(&sl->gb) + 7) / 8); get_bits_left 2739 libavcodec/h264_slice.c if ( get_bits_left(&sl->gb) == 0 get_bits_left 2740 libavcodec/h264_slice.c || get_bits_left(&sl->gb) > 0 && !(h->avctx->err_recognition & AV_EF_AGGRESSIVE)) { get_bits_left 2754 libavcodec/h264_slice.c if (get_bits_left(&sl->gb) <= 0 && sl->mb_skip_run <= 0) { get_bits_left 2758 libavcodec/h264_slice.c if (get_bits_left(&sl->gb) == 0) { get_bits_left 164 libavcodec/hcadec.c while (get_bits_left(gb) >= 32) { get_bits_left 104 libavcodec/hcom.c while (get_bits_left(&gb) > 0) { get_bits_left 477 libavcodec/hevc_cabac.c (get_bits_left(gb) + 7) / 8); get_bits_left 270 libavcodec/hevc_ps.c if (get_bits_left(gb) < 2+1+5 + 32 + 4 + 43 + 1) get_bits_left 344 libavcodec/hevc_ps.c get_bits_left(gb) < 8 + (8*2 * (max_num_sub_layers - 1 > 0))) { get_bits_left 367 libavcodec/hevc_ps.c if (get_bits_left(gb) < 8) { get_bits_left 533 libavcodec/hevc_ps.c (vps->vps_num_layer_sets - 1LL) * (vps->vps_max_layer_id + 1LL) > get_bits_left(gb)) { get_bits_left 566 libavcodec/hevc_ps.c if (get_bits_left(gb) < 0) { get_bits_left 568 libavcodec/hevc_ps.c "Overread VPS by %d bits\n", -get_bits_left(gb)); get_bits_left 662 libavcodec/hevc_ps.c if (get_bits_left(gb) >= 68 && show_bits_long(gb, 21) == 0x100000) { get_bits_left 697 libavcodec/hevc_ps.c if( get_bits_left(gb) < 66 && !alt) { get_bits_left 723 libavcodec/hevc_ps.c if (get_bits_left(gb) < 8 && !alt) { get_bits_left 742 libavcodec/hevc_ps.c if (get_bits_left(gb) < 1 && !alt) { get_bits_left 1237 libavcodec/hevc_ps.c if (get_bits_left(gb) < 0) { get_bits_left 1239 libavcodec/hevc_ps.c "Overread SPS by %d bits\n", -get_bits_left(gb)); get_bits_left 1727 libavcodec/hevc_ps.c if (get_bits_left(gb) < 0) { get_bits_left 1729 libavcodec/hevc_ps.c "Overread PPS by %d bits\n", -get_bits_left(gb)); get_bits_left 334 libavcodec/hevc_sei.c if (get_bits_left(gb) < 16 || payload_type > INT_MAX - 255) get_bits_left 341 libavcodec/hevc_sei.c if (get_bits_left(gb) < 8 + 8LL*payload_size) get_bits_left 355 libavcodec/hevc_sei.c return get_bits_left(gb) > 0 && show_bits(gb, 8) != 0x80; get_bits_left 638 libavcodec/hevcdec.c pos = get_bits_left(gb); get_bits_left 657 libavcodec/hevcdec.c sh->short_term_ref_pic_set_size = pos - get_bits_left(gb); get_bits_left 659 libavcodec/hevcdec.c pos = get_bits_left(gb); get_bits_left 666 libavcodec/hevcdec.c sh->long_term_ref_pic_set_size = pos - get_bits_left(gb); get_bits_left 847 libavcodec/hevcdec.c if (num_entry_point_offsets > get_bits_left(gb)) { get_bits_left 888 libavcodec/hevcdec.c if (length*8LL > get_bits_left(gb)) { get_bits_left 915 libavcodec/hevcdec.c if (get_bits_left(gb) < 0) { get_bits_left 917 libavcodec/hevcdec.c "Overread slice header by %d bits\n", -get_bits_left(gb)); get_bits_left 184 libavcodec/hq_hqa.c if (get_bits_left(gb) < 1) get_bits_left 108 libavcodec/huffyuvdec.c if (i + repeat > n || get_bits_left(gb) < 0) { get_bits_left 632 libavcodec/huffyuvdec.c icount = get_bits_left(&s->gb) / (32 * 4); get_bits_left 676 libavcodec/huffyuvdec.c if (count >= (get_bits_left(&s->gb)) / (32 * 2)) { get_bits_left 696 libavcodec/huffyuvdec.c if (count >= (get_bits_left(&s->gb)) / (32 * 2)) { get_bits_left 715 libavcodec/huffyuvdec.c if (count >= (get_bits_left(&s->gb)) / (32 * 2)) { get_bits_left 716 libavcodec/huffyuvdec.c for (i = 0; i < count && get_bits_left(&s->gb) > 0; i++) { get_bits_left 724 libavcodec/huffyuvdec.c if( width&1 && get_bits_left(&s->gb)>0 ) { get_bits_left 737 libavcodec/huffyuvdec.c if (count >= (get_bits_left(&s->gb)) / (32 * 2)) { get_bits_left 59 libavcodec/indeo2.c if ((width & 1) || width * height / (2*(IR2_CODES - 0x7F)) > get_bits_left(&ctx->gb)) get_bits_left 84 libavcodec/indeo2.c if (get_bits_left(&ctx->gb) <= 0) get_bits_left 128 libavcodec/indeo2.c if (get_bits_left(&ctx->gb) <= 0) get_bits_left 785 libavcodec/indeo3.c while (get_bits_left(&ctx->gb) >= 2) { /* loop until return */ get_bits_left 248 libavcodec/indeo4.c if (get_bits_left(&ctx->gb) < 10) get_bits_left 503 libavcodec/indeo4.c if (get_bits_left(&ctx->gb) < 1) { get_bits_left 298 libavcodec/indeo5.c if (8*len > get_bits_left(gb)) get_bits_left 31 libavcodec/intelh263dec.c if (get_bits_left(&s->gb) == 64) { /* special dummy frames */ get_bits_left 1129 libavcodec/interplayvideo.c if (get_bits_left(&gb) < 4) get_bits_left 804 libavcodec/intrax8.c if (get_bits_left(gb) < 1) get_bits_left 169 libavcodec/ituh263dec.c left= get_bits_left(&s->gb); get_bits_left 221 libavcodec/ituh263dec.c while (get_bits_left(&s->gb) >= 32 && show_bits_long(&s->gb, 32) != SLICE_START_CODE) { get_bits_left 225 libavcodec/ituh263dec.c if (get_bits_left(&s->gb) >= 32 && show_bits_long(&s->gb, 32) == SLICE_START_CODE) get_bits_left 248 libavcodec/ituh263dec.c left= get_bits_left(&s->gb); get_bits_left 980 libavcodec/ituh263dec.c if (get_bits_left(&s->gb) < 0) get_bits_left 987 libavcodec/ituh263dec.c if (get_bits_left(&s->gb) < 16) { get_bits_left 988 libavcodec/ituh263dec.c v >>= 16 - get_bits_left(&s->gb); get_bits_left 1012 libavcodec/ituh263dec.c for(i= get_bits_left(&s->gb); i>24; i-=8) { get_bits_left 1222 libavcodec/ituh263dec.c if ((s->width * s->height / 256 / 8) > get_bits_left(&s->gb)) get_bits_left 1282 libavcodec/ituh263dec.c if (s->pict_type == AV_PICTURE_TYPE_I && s->codec_tag == AV_RL32("ZYGO") && get_bits_left(&s->gb) >= 85 + 13*3*16 + 50){ get_bits_left 1185 libavcodec/ivi.c if (get_bits_left(&ctx->gb) < 8) get_bits_left 1190 libavcodec/ivi.c if (get_bits_left(&ctx->gb) > 18 && get_bits_left 1194 libavcodec/ivi.c pkt.size = get_bits_left(&ctx->gb) >> 3; get_bits_left 236 libavcodec/jpeglsdec.c if (get_bits_left(&s->gb) <= 0) get_bits_left 399 libavcodec/jpeglsdec.c if (get_bits_left(&s->gb) < s->height) { get_bits_left 41 libavcodec/lagarithrac.c left = get_bits_left(gb) >> 3; get_bits_left 91 libavcodec/loco.c if (get_bits_left(&r->gb) < 1) get_bits_left 243 libavcodec/magicyuv.c if (get_bits_left(&gb) < bps * width * height) get_bits_left 255 libavcodec/magicyuv.c if (get_bits_left(&gb) <= 0) get_bits_left 373 libavcodec/magicyuv.c if (get_bits_left(&gb) < 8* width * height) get_bits_left 385 libavcodec/magicyuv.c if (get_bits_left(&gb) <= 0) get_bits_left 482 libavcodec/magicyuv.c while (get_bits_left(gbit) >= 8) { get_bits_left 143 libavcodec/mdec.c if (get_bits_left(&a->gb) < 0) get_bits_left 206 libavcodec/mjpegdec.c if (8*len > get_bits_left(&s->gb)) { get_bits_left 250 libavcodec/mjpegdec.c if (8*len > get_bits_left(&s->gb)) { get_bits_left 1047 libavcodec/mjpegdec.c while (get_bits_left(&s->gb) >= 8 && show_bits(&s->gb, 8) == 0xFF) get_bits_left 1049 libavcodec/mjpegdec.c if (get_bits_left(&s->gb) >= 8 && (get_bits(&s->gb, 8) & 0xF8) == 0xD0) { get_bits_left 1120 libavcodec/mjpegdec.c if (get_bits_left(&s->gb) < 1) { get_bits_left 1243 libavcodec/mjpegdec.c if (get_bits_left(&s->gb) < 1) { get_bits_left 1455 libavcodec/mjpegdec.c if (get_bits_left(&s->gb) < 0) { get_bits_left 1457 libavcodec/mjpegdec.c -get_bits_left(&s->gb)); get_bits_left 1558 libavcodec/mjpegdec.c if (get_bits_left(&s->gb) <= 0) { get_bits_left 1778 libavcodec/mjpegdec.c get_bits_left(&s->gb) > 32 && get_bits_left 1825 libavcodec/mjpegdec.c if (8 * len > get_bits_left(&s->gb)) get_bits_left 2131 libavcodec/mjpegdec.c if (len >= 2 && 8 * len - 16 <= get_bits_left(&s->gb)) { get_bits_left 2538 libavcodec/mjpegdec.c skip_bits(&s->gb, get_bits_left(&s->gb)); get_bits_left 271 libavcodec/mpc8.c if (get_bits_left(gb) < 0) { get_bits_left 427 libavcodec/mpc8.c if (get_bits_left(gb) < 0) { get_bits_left 428 libavcodec/mpc8.c av_log(avctx, AV_LOG_ERROR, "Overread %d\n", -get_bits_left(gb)); get_bits_left 430 libavcodec/mpc8.c } else if (c->cur_frame == 0 && get_bits_left(gb) < 8) {// we have only padding left get_bits_left 1746 libavcodec/mpeg12dec.c while (get_bits_left(&s->gb) > 0) { get_bits_left 1868 libavcodec/mpeg12dec.c int left = get_bits_left(&s->gb); get_bits_left 1903 libavcodec/mpeg12dec.c left = get_bits_left(&s->gb); get_bits_left 1978 libavcodec/mpeg12dec.c if (get_bits_left(&s->gb) < 0) { get_bits_left 1979 libavcodec/mpeg12dec.c av_log(s, AV_LOG_ERROR, "overread %d\n", -get_bits_left(&s->gb)); get_bits_left 2274 libavcodec/mpeg12dec.c for (i = 0; i < cc_count && get_bits_left(&gb) >= 26; i++) { get_bits_left 35 libavcodec/mpeg4audio.c if (get_bits_left(gb) < 112) get_bits_left 132 libavcodec/mpeg4audio.c while (get_bits_left(gb) > 15) { get_bits_left 141 libavcodec/mpeg4audio.c if (get_bits_left(gb) > 11 && get_bits(gb, 11) == 0x548) get_bits_left 555 libavcodec/mpeg4videodec.c if (get_bits_left(gb) >= 32 && get_bits_long(gb, 32) == SLICE_START_CODE) { get_bits_left 1785 libavcodec/mpeg4videodec.c while (get_bits_left(gb) >= 24 && show_bits(gb, 24) != 0x1) { get_bits_left 2049 libavcodec/mpeg4videodec.c if (get_bits_left(&s->gb) >= 24 && show_bits(&s->gb, 23) == 0) { get_bits_left 2055 libavcodec/mpeg4videodec.c if (get_bits_left(&s->gb) == 0) get_bits_left 2059 libavcodec/mpeg4videodec.c if (get_bits_left(&s->gb) < 8U && show_bits(&s->gb, get_bits_left(&s->gb)) == 0) get_bits_left 2337 libavcodec/mpeg4videodec.c if (get_bits_left(gb) < 8) { get_bits_left 2364 libavcodec/mpeg4videodec.c if (get_bits_left(gb) < 8) { get_bits_left 2394 libavcodec/mpeg4videodec.c if (get_bits_left(gb) < 4) { get_bits_left 2850 libavcodec/mpeg4videodec.c if (get_bits_left(gb) < 3) { get_bits_left 2979 libavcodec/mpeg4videodec.c if (get_bits_left(gb) < 64*8) get_bits_left 2991 libavcodec/mpeg4videodec.c if (get_bits_left(gb) < 64*8) get_bits_left 3000 libavcodec/mpeg4videodec.c if (get_bits_left(gb) < 64*8) get_bits_left 3011 libavcodec/mpeg4videodec.c if (get_bits_left(gb) < 64*8) get_bits_left 3063 libavcodec/mpeg4videodec.c if (get_bits_left(gb) <= 32) get_bits_left 1395 libavcodec/mpegaudiodec_template.c s->extrasize = av_clip((get_bits_left(&s->gb) >> 3) - s->extrasize, 0, get_bits_left 1603 libavcodec/mpegaudiodec_template.c i = (get_bits_left(&s->gb) >> 3) - s->extrasize; get_bits_left 1616 libavcodec/mpegaudiodec_template.c i = (get_bits_left(&s->gb) >> 3) - s->extrasize; get_bits_left 211 libavcodec/msmpeg4dec.c if (get_bits_left(&s->gb) <= 0) get_bits_left 420 libavcodec/msmpeg4dec.c if (get_bits_left(&s->gb) * 8LL < (s->width+15)/16 * ((s->height+15)/16)) get_bits_left 809 libavcodec/msmpeg4dec.c const int left= get_bits_left(&s->gb); get_bits_left 59 libavcodec/mss1.c if (get_bits_left(c->gbc.gb) < 1) get_bits_left 413 libavcodec/mv30.c if (get_bits_left(gb) < s->mode_size * 8) get_bits_left 514 libavcodec/mv30.c if (get_bits_left(gb) < 0) { get_bits_left 209 libavcodec/mvha.c if (get_bits_left(gb) < 4) get_bits_left 236 libavcodec/mvha.c if (get_bits_left(gb) < width) get_bits_left 89 libavcodec/proresdec2.c } while (get_bits_left(gb)>0 && get_bits1(gb)); get_bits_left 684 libavcodec/qdm2.c joined_stereo = (get_bits_left(gb) >= 1) ? get_bits1(gb) : 0; get_bits_left 687 libavcodec/qdm2.c if (get_bits_left(gb) >= 16) get_bits_left 706 libavcodec/qdm2.c zero_encoding = (get_bits_left(gb) >= 1) ? get_bits1(gb) : 0; get_bits_left 713 libavcodec/qdm2.c if (get_bits_left(gb) >= 10) { get_bits_left 740 libavcodec/qdm2.c if (get_bits_left(gb) >= 1) { get_bits_left 754 libavcodec/qdm2.c if (get_bits_left(gb) >= 10) { get_bits_left 779 libavcodec/qdm2.c if (get_bits_left(gb) >= 7) { get_bits_left 796 libavcodec/qdm2.c if (get_bits_left(gb) >= 4) { get_bits_left 810 libavcodec/qdm2.c if (get_bits_left(gb) >= 7) { get_bits_left 878 libavcodec/qdm2.c if (get_bits_left(gb) < 16) get_bits_left 885 libavcodec/qdm2.c if (get_bits_left(gb) < 16) get_bits_left 892 libavcodec/qdm2.c if (get_bits_left(gb) < 16) get_bits_left 921 libavcodec/qdm2.c if (get_bits_left(gb) < 16) { get_bits_left 932 libavcodec/qdm2.c if (get_bits_left(gb) < 1) get_bits_left 936 libavcodec/qdm2.c if (get_bits_left(gb) < 16) get_bits_left 950 libavcodec/qdm2.c if (get_bits_left(gb) < 16) get_bits_left 965 libavcodec/qdm2.c if (get_bits_left(gb) < 16) get_bits_left 1273 libavcodec/qdm2.c while (get_bits_left(gb)>0) { get_bits_left 1276 libavcodec/qdm2.c if (get_bits_left(gb)<0) { get_bits_left 370 libavcodec/qdmc.c if (get_bits_left(gb) < 1) get_bits_left 378 libavcodec/ralf.c if (get_bits_left(gb) < 0) get_bits_left 484 libavcodec/ralf.c while (get_bits_left(&gb) > 0) { get_bits_left 58 libavcodec/rtjpeg.c if (get_bits_left(gb) < (coeff << 1)) get_bits_left 75 libavcodec/rtjpeg.c if (get_bits_left(gb) < (coeff << 2)) get_bits_left 86 libavcodec/rtjpeg.c if (get_bits_left(gb) < (coeff << 3)) get_bits_left 1357 libavcodec/rv34.c bits = get_bits_left(&s->gb); get_bits_left 112 libavcodec/rv40.c if (get_bits_left(gb) < 8) get_bits_left 459 libavcodec/shorten.c if ((unsigned)skip_bytes > FFMAX(get_bits_left(&s->gb), 0)/8) { get_bits_left 608 libavcodec/shorten.c if (get_bits_left(&s->gb) < 3 + FNSIZE) { get_bits_left 626 libavcodec/shorten.c if (len < 0 || len > get_bits_left(&s->gb)) { get_bits_left 585 libavcodec/siren.c if (get_bits_left(gb) <= 0) { get_bits_left 599 libavcodec/siren.c if (error == 0 && get_bits_left(gb) >= 0) { get_bits_left 671 libavcodec/siren.c return error == 1 ? AVERROR_INVALIDDATA : get_bits_left(gb); get_bits_left 692 libavcodec/siren.c ret = categorize_regions(s->number_of_regions, get_bits_left(gb), get_bits_left 701 libavcodec/siren.c ret = decode_vector(s, s->number_of_regions, get_bits_left(gb), get_bits_left 707 libavcodec/siren.c if (get_bits_left(gb) > 0) { get_bits_left 710 libavcodec/siren.c } while (get_bits_left(gb) > 0); get_bits_left 711 libavcodec/siren.c } else if (get_bits_left(gb) < 0 && get_bits_left 401 libavcodec/smacker.c if (get_bits_left(gb) < 1) get_bits_left 728 libavcodec/smacker.c if (get_bits_left(&gb) < 0) { get_bits_left 786 libavcodec/smacker.c if (get_bits_left(&gb) < 0) { get_bits_left 605 libavcodec/svq1dec.c if (get_bits_left(bitbuf) <= 0) get_bits_left 1047 libavcodec/svq3.c if (slice_bytes * 8LL > get_bits_left(&s->gb)) { get_bits_left 1553 libavcodec/svq3.c if ((get_bits_left(&s->gb_slice)) <= 7) { get_bits_left 1555 libavcodec/svq3.c show_bits(&s->gb_slice, get_bits_left(&s->gb_slice) & 7) == 0)) { get_bits_left 526 libavcodec/takdec.c if (get_bits_left(gb) < (s->nb_subframes - 1) * 6) get_bits_left 871 libavcodec/takdec.c if (get_bits_left(gb) < 0) get_bits_left 873 libavcodec/takdec.c else if (get_bits_left(gb) > 0) get_bits_left 50 libavcodec/tiertexseqv.c if (get_bits_left(&gb) < 4) get_bits_left 375 libavcodec/truemotion2.c if (get_bits_left(&ctx->gb) <= 0) { get_bits_left 140 libavcodec/tscc2.c if (get_bits_left(gb) < 16 * 8 * 8) get_bits_left 271 libavcodec/tta.c unary = get_unary(&gb, 0, get_bits_left(&gb)); get_bits_left 282 libavcodec/tta.c if (get_bits_left(&gb) < k) { get_bits_left 343 libavcodec/tta.c if (i == s->last_frame_length && get_bits_left(&gb) / 8 == 4) { get_bits_left 351 libavcodec/tta.c if (get_bits_left(&gb) < 32) { get_bits_left 214 libavcodec/utvideodec.c if (get_bits_left(&gb) < 0) { get_bits_left 220 libavcodec/utvideodec.c if (get_bits_left(&gb) > 32) get_bits_left 222 libavcodec/utvideodec.c "%d bits left after decoding slice\n", get_bits_left(&gb)); get_bits_left 273 libavcodec/utvideodec.c if (3 * ((dst + send * stride - dest + 7)/8) > get_bits_left(&cbit)) get_bits_left 285 libavcodec/utvideodec.c if ((bits + 1) * 8 > get_bits_left(&pbit)) get_bits_left 373 libavcodec/utvideodec.c if (get_bits_left(&gb) < 0) { get_bits_left 380 libavcodec/utvideodec.c if (get_bits_left(&gb) > 32) get_bits_left 382 libavcodec/utvideodec.c "%d bits left after decoding slice\n", get_bits_left(&gb)); get_bits_left 80 libavcodec/vble.c if (get_bits_left(gb) < allbits) get_bits_left 523 libavcodec/vc1_block.c lst = index >= vc1_last_decode_table[codingset] || get_bits_left(gb) < 0; get_bits_left 2635 libavcodec/vc1_block.c if (get_bits_left(&s->gb) < 0) { get_bits_left 2675 libavcodec/vc1_block.c if (get_bits_left(gb) <= 1) get_bits_left 2731 libavcodec/vc1_block.c if (get_bits_left(&v->s.gb) <= 1) { get_bits_left 2781 libavcodec/vc1_block.c if (get_bits_left(&s->gb) < 0) { get_bits_left 2847 libavcodec/vc1_block.c if (get_bits_left(&v->s.gb) <= 1) { get_bits_left 2865 libavcodec/vc1_block.c if (get_bits_left(&s->gb) < 0 || get_bits_count(&s->gb) < 0) { get_bits_left 2936 libavcodec/vc1_block.c if (get_bits_left(&v->s.gb) <= 1) { get_bits_left 2954 libavcodec/vc1_block.c if (get_bits_left(&s->gb) < 0 || get_bits_count(&s->gb) < 0) { get_bits_left 109 libavcodec/vorbis_parser.c while (get_bits_left(&gb) > 97) { get_bits_left 129 libavcodec/vorbis_parser.c while (get_bits_left(&gb) >= 97) { get_bits_left 487 libavcodec/vp3.c while (current_superblock < s->superblock_count && get_bits_left(gb) > 0) { get_bits_left 521 libavcodec/vp3.c get_bits_left(gb) > 0) { get_bits_left 591 libavcodec/vp3.c for (i = sb_start; i < sb_end && get_bits_left(gb) > 0; i++) { get_bits_left 592 libavcodec/vp3.c if (get_bits_left(gb) < plane0_num_coded_frags >> 2) { get_bits_left 710 libavcodec/vp3.c if (get_bits_left(gb) <= 0) get_bits_left 721 libavcodec/vp3.c if (get_bits_left(gb) <= 0) get_bits_left 822 libavcodec/vp3.c if (get_bits_left(gb) <= 0) get_bits_left 929 libavcodec/vp3.c if (get_bits_left(gb) <= 0) get_bits_left 1131 libavcodec/vp3.c } while (blocks_decoded < num_blocks && get_bits_left(gb) > 0); get_bits_left 1214 libavcodec/vp3.c while (coeff_i < num_coeffs && get_bits_left(gb) > 0) { get_bits_left 1309 libavcodec/vp3.c if (get_bits_left(gb) < 16) get_bits_left 1321 libavcodec/vp3.c if (get_bits_left(gb) < 8) get_bits_left 1345 libavcodec/vp3.c if (get_bits_left(gb) < 8) get_bits_left 1407 libavcodec/vp3.c if (get_bits_left(gb) < 1) get_bits_left 1533 libavcodec/vp3.c if (get_bits_left(gb) < 16) get_bits_left 426 libavcodec/vp6.c if (get_bits_left(&s->gb) <= 0) get_bits_left 193 libavcodec/wavpack.c if (t >= 32 || get_bits_left(gb) < t - 1) get_bits_left 197 libavcodec/wavpack.c if (get_bits_left(gb) < 0) get_bits_left 215 libavcodec/wavpack.c if (get_bits_left(gb) < 0) get_bits_left 220 libavcodec/wavpack.c if (get_bits_left(gb) < 0) get_bits_left 224 libavcodec/wavpack.c if (t2 >= 32 || get_bits_left(gb) < t2 - 1) get_bits_left 273 libavcodec/wavpack.c if (get_bits_left(gb) <= 0) get_bits_left 278 libavcodec/wavpack.c if (get_bits_left(gb) <= 0) get_bits_left 295 libavcodec/wavpack.c ret = get_bits_left(gb); get_bits_left 312 libavcodec/wavpack.c get_bits_left(&s->gb_extra_bits) >= s->extra_bits) { get_bits_left 339 libavcodec/wavpack.c const int left_bits = get_bits_left(&s->gb_extra_bits); get_bits_left 1477 libavcodec/wavpack.c const int size = get_bits_left(&s->gb_extra_bits); get_bits_left 518 libavcodec/wmadec.c if (get_bits_left(&s->gb) < 7) { get_bits_left 847 libavcodec/wmadec.c int is_error = nb_frames < 0 || get_bits_left(&s->gb) <= 8; get_bits_left 850 libavcodec/wmadec.c nb_frames, get_bits_left(&s->gb)); get_bits_left 883 libavcodec/wmadec.c if (bit_offset > get_bits_left(&s->gb)) { get_bits_left 886 libavcodec/wmadec.c bit_offset, get_bits_left(&s->gb), buf_size); get_bits_left 539 libavcodec/wmalosslessdec.c if (get_bits_left(&s->gb) <= 0) get_bits_left 603 libavcodec/wmaprodec.c if (get_bits_left(&s->gb) < 1) get_bits_left 1812 libavcodec/wmavoice.c if (get_bits_left(gb) < 0) { get_bits_left 1848 libavcodec/wmavoice.c if (get_bits_left(gb) < 6 + s->spillover_bitsize) get_bits_left 1857 libavcodec/wmavoice.c return get_bits_left(gb) >= 0 ? n_superframes : AVERROR_INVALIDDATA; get_bits_left 1881 libavcodec/wmavoice.c rmn_bits = rmn_bytes = get_bits_left(gb); get_bits_left 1961 libavcodec/wmavoice.c pos = get_bits_left(gb); get_bits_left 49 libavcodec/wmv2dec.c if (get_bits_left(&s->gb) < s->mb_height * s->mb_width) get_bits_left 58 libavcodec/wmv2dec.c if (get_bits_left(&s->gb) < 1) get_bits_left 73 libavcodec/wmv2dec.c if (get_bits_left(&s->gb) < 1) get_bits_left 92 libavcodec/wmv2dec.c if (coded_mb_count > get_bits_left(&s->gb)) get_bits_left 199 libavcodec/wmv2dec.c if (get_bits_left(&s->gb) * 8LL < (s->width+15)/16 * ((s->height+15)/16)) get_bits_left 242 libavcodec/wmv2dec.c if (get_bits_left(&s->gb) < 2) get_bits_left 407 libavcodec/wmv2dec.c if (get_bits_left(&s->gb) <= 0) get_bits_left 419 libavcodec/wmv2dec.c if (get_bits_left(&s->gb) <= 0) get_bits_left 135 libavcodec/xan.c if (get_bits_left(&gb) < 1) get_bits_left 370 libavcodec/ylc.c if (get_bits_left(&gb) <= 0) get_bits_left 127 libavformat/av1.c while (get_bits_left(gb)) { get_bits_left 328 libavformat/av1.c if (get_bits_left(&gb)) get_bits_left 467 libavformat/hevc.c if ((num_positive_pics + (uint64_t)num_negative_pics) * 2 > get_bits_left(gb)) get_bits_left 1028 libavformat/mpegts.c if (get_bits_left(gb) < bits) get_bits_left 128 libavformat/rtpdec_h261.c while (get_bits_left(&gb) >= 8) get_bits_left 130 libavformat/rtpdec_h261.c rtp_h261_ctx->endbyte_bits = get_bits_left(&gb); get_bits_left 151 libavformat/rtpdec_h263_rfc2190.c while (get_bits_left(&gb) >= 8) get_bits_left 153 libavformat/rtpdec_h263_rfc2190.c data->endbyte_bits = get_bits_left(&gb); get_bits_left 118 libavformat/rtpdec_latm.c ret = ff_alloc_extradata(st->codecpar, (get_bits_left(&gb) + 7)/8);