av_assert0 355 doc/examples/muxing.c av_assert0(dst_nb_samples == frame->nb_samples); av_assert0 311 doc/examples/transcode_aac.c av_assert0(output_codec_context->sample_rate == input_codec_context->sample_rate); av_assert0 498 fftools/cmdutils.c av_assert0(po->flags & (OPT_INPUT | OPT_OUTPUT)); av_assert0 887 fftools/cmdutils.c av_assert0(arg); av_assert0 1532 fftools/cmdutils.c av_assert0(i == nb_codecs); av_assert0 2285 fftools/cmdutils.c av_assert0(dev && opts); av_assert0 919 fftools/ffmpeg.c av_assert0(pkt.size || !pkt.data); av_assert0 1153 fftools/ffmpeg.c av_assert0(0); av_assert0 1507 fftools/ffmpeg.c av_assert0(0); av_assert0 1912 fftools/ffmpeg.c av_assert0(0); av_assert0 3033 fftools/ffmpeg.c av_assert0(ist && !ost->filter); av_assert0 3235 fftools/ffmpeg.c av_assert0(index == size); av_assert0 4607 fftools/ffmpeg.c av_assert0(ost->source_index >= 0); av_assert0 318 fftools/ffmpeg_filter.c av_assert0(ist); av_assert0 687 fftools/ffmpeg_filter.c default: av_assert0(0); av_assert0 997 fftools/ffmpeg_filter.c default: av_assert0(0); av_assert0 669 fftools/ffmpeg_opt.c default: av_assert0(0);\ av_assert0 636 fftools/ffprobe.c av_assert0(wctx->level < SECTION_MAX_NB_LEVELS); av_assert0 3438 fftools/ffprobe.c av_assert0(i < read_intervals_nb); av_assert0 3454 fftools/ffprobe.c av_assert0(i == read_intervals_nb); av_assert0 338 libavcodec/4xm.c av_assert0(0); av_assert0 349 libavcodec/4xm.c av_assert0(log2w >= 0 && log2h >= 0); av_assert0 352 libavcodec/4xm.c av_assert0(index >= 0); av_assert0 359 libavcodec/4xm.c av_assert0(code >= 0 && code <= 6); av_assert0 414 libavcodec/4xm.c av_assert0(start <= src && src <= end); av_assert0 803 libavcodec/4xm.c av_assert0(prestream <= buf + length); av_assert0 846 libavcodec/4xm.c av_assert0(avctx->width % 16 == 0 && avctx->height % 16 == 0); av_assert0 390 libavcodec/a64multienc.c av_assert0(pkt->size >= req_size); av_assert0 203 libavcodec/aacdec_fixed.c av_assert0(s >= 0); av_assert0 713 libavcodec/aacdec_template.c av_assert0(0); av_assert0 411 libavcodec/aacenc.c av_assert0(diff >= 0 && diff <= 120); av_assert0 167 libavcodec/aacenc_quantization.h av_assert0(0); av_assert0 107 libavcodec/aacsbr.c av_assert0(temp1 <= 1E20); av_assert0 195 libavcodec/aacsbr_fixed.c av_assert0(temp1.exp <= 66); av_assert0 338 libavcodec/aacsbr_template.c av_assert0(0); av_assert0 731 libavcodec/aacsbr_template.c av_assert0(bs_pointer >= 0); av_assert0 1523 libavcodec/aacsbr_template.c av_assert0(sbr->data[ch].bs_num_env > 0); av_assert0 781 libavcodec/ac3dec.c av_assert0(band_struct_size >= start_subband + n_subbands); av_assert0 1758 libavcodec/ac3dec.c av_assert0(ch>=AV_NUM_DATA_POINTERS || frame->extended_data[ch] == frame->data[ch]); av_assert0 244 libavcodec/acelp_vectors.c av_assert0(x < size); av_assert0 2032 libavcodec/adpcm.c av_assert0(0); // unsupported codec_id should not happen av_assert0 590 libavcodec/adpcmenc.c av_assert0(avctx->trellis == 0); av_assert0 799 libavcodec/alsdec.c av_assert0(sb_length <= sconf->frame_length); av_assert0 420 libavcodec/amfenc.c av_assert0(planes < FF_ARRAY_ELEMS(dst_data)); av_assert0 634 libavcodec/amfenc.c av_assert0(frame->hw_frames_ctx && ctx->hw_frames_ctx && av_assert0 1447 libavcodec/apedec.c av_assert0(s->samples >= 0); av_assert0 1527 libavcodec/apedec.c av_assert0(decoded_buffer_size <= INT_MAX); av_assert0 176 libavcodec/asvenc.c av_assert0(a->pb.buf_end - a->pb.buf - (put_bits_count(&a->pb) >> 3) >= MAX_MB_SIZE); av_assert0 63 libavcodec/atrac3plus.c av_assert0(index < 256); av_assert0 105 libavcodec/audio_frame_queue.c av_assert0(!afq->frame_count); av_assert0 106 libavcodec/audio_frame_queue.c av_assert0(afq->remaining_samples == afq->remaining_delay); av_assert0 90 libavcodec/audiotoolboxdec.c av_assert0(!"Invalid codec ID!"); av_assert0 83 libavcodec/audiotoolboxenc.c av_assert0(!"Invalid codec ID!"); av_assert0 156 libavcodec/av1_frame_split_bsf.c av_assert0(frame && s->cur_frame <= s->nb_frames); av_assert0 114 libavcodec/avpacket.c av_assert0((unsigned)pkt->size <= INT_MAX - AV_INPUT_BUFFER_PADDING_SIZE); av_assert0 436 libavcodec/avpacket.c av_assert0(p-pkt->data == pkt->size); av_assert0 474 libavcodec/avpacket.c av_assert0(size<=INT_MAX - 5 && p - pkt->data >= size); av_assert0 144 libavcodec/binkaudio.c av_assert0(0); av_assert0 73 libavcodec/bitstream.c av_assert0(length <= put_bits_left(pb)); av_assert0 287 libavcodec/bitstream.c av_assert0(nb_codes + 1 <= FF_ARRAY_ELEMS(localbuf)); av_assert0 303 libavcodec/bitstream.c av_assert0(symbols_size <= 2 || !symbols); av_assert0 346 libavcodec/bitstream.c av_assert0(ret >= 0); av_assert0 139 libavcodec/bmvvideo.c av_assert0(len>0); av_assert0 137 libavcodec/bytestream.h av_assert0(buf_size >= 0); av_assert0 147 libavcodec/bytestream.h av_assert0(buf_size >= 0); av_assert0 186 libavcodec/cbs.c av_assert0(unit->data && unit->data_ref); av_assert0 207 libavcodec/cbs.c av_assert0(!frag->data && !frag->data_ref); av_assert0 322 libavcodec/cbs.c av_assert0(put_bits_count(&pbc) <= 8 * ctx->write_buffer_size); av_assert0 360 libavcodec/cbs.c av_assert0(unit->data && unit->data_ref); av_assert0 371 libavcodec/cbs.c av_assert0(frag->data && frag->data_ref); av_assert0 446 libavcodec/cbs.c av_assert0(value >= INT_MIN && value <= UINT32_MAX); av_assert0 455 libavcodec/cbs.c av_assert0(k > 0 && j + k < sizeof(name)); av_assert0 458 libavcodec/cbs.c av_assert0(str[i] == ']'); av_assert0 462 libavcodec/cbs.c av_assert0(str[i] == ']'); av_assert0 465 libavcodec/cbs.c av_assert0(j + 1 < sizeof(name)); av_assert0 469 libavcodec/cbs.c av_assert0(j + 1 < sizeof(name)); av_assert0 471 libavcodec/cbs.c av_assert0(n == subs); av_assert0 493 libavcodec/cbs.c av_assert0(width > 0 && width <= 32); av_assert0 533 libavcodec/cbs.c av_assert0(width > 0 && width <= 32); av_assert0 572 libavcodec/cbs.c av_assert0(width > 0 && width <= 32); av_assert0 612 libavcodec/cbs.c av_assert0(width > 0 && width <= 32); av_assert0 649 libavcodec/cbs.c av_assert0(!unit->content && !unit->content_ref); av_assert0 669 libavcodec/cbs.c av_assert0(!unit->data && !unit->data_ref); av_assert0 735 libavcodec/cbs.c av_assert0(position >= 0 && position <= frag->nb_units); av_assert0 772 libavcodec/cbs.c av_assert0(position >= 0 && position <= frag->nb_units); av_assert0 803 libavcodec/cbs.c av_assert0(0 <= position && position < frag->nb_units av_assert0 221 libavcodec/cbs_av1.c av_assert0(n > 0); av_assert0 321 libavcodec/cbs_av1.c av_assert0(range_min <= range_max && range_max - range_min < sizeof(bits) - 1); av_assert0 356 libavcodec/cbs_av1.c av_assert0(range_min <= range_max && range_max - range_min < 32); av_assert0 402 libavcodec/cbs_av1.c av_assert0(range_max > 0); av_assert0 458 libavcodec/cbs_av1.c av_assert0(range_max > 0); av_assert0 470 libavcodec/cbs_av1.c av_assert0(len == max_len + 1); av_assert0 790 libavcodec/cbs_av1.c av_assert0(pos % 8 == 0 && pos / 8 <= size); av_assert0 875 libavcodec/cbs_av1.c av_assert0(pos % 8 == 0); av_assert0 908 libavcodec/cbs_av1.c av_assert0(obu->header.obu_type == unit->type); av_assert0 1043 libavcodec/cbs_av1.c av_assert0(end_pos <= unit->data_size * 8); av_assert0 1194 libavcodec/cbs_av1.c av_assert0(end_pos % 8 == 0); av_assert0 1206 libavcodec/cbs_av1.c av_assert0(data_pos <= start_pos); av_assert0 1224 libavcodec/cbs_av1.c av_assert0(put_bits_count(pbc) % 8 == 0); av_assert0 1251 libavcodec/cbs_av1.c av_assert0(pos == size); av_assert0 47 libavcodec/cbs_av1_syntax_template.c av_assert0(nb_bits > 0); av_assert0 1595 libavcodec/cbs_av1_syntax_template.c av_assert0(priv->frame_header_ref && priv->frame_header); av_assert0 155 libavcodec/cbs_h2645.c av_assert0(value != UINT32_MAX); av_assert0 199 libavcodec/cbs_h2645.c av_assert0(value != INT32_MIN); av_assert0 612 libavcodec/cbs_h2645.c av_assert0(frag->data && frag->nb_units == 0); av_assert0 1113 libavcodec/cbs_h2645.c av_assert0(data_bit_start >= 0 && av_assert0 1152 libavcodec/cbs_h2645.c av_assert0(temp); av_assert0 1402 libavcodec/cbs_h2645.c av_assert0(frag->units[i].data); av_assert0 1461 libavcodec/cbs_h2645.c av_assert0(dp <= max_size); av_assert0 1603 libavcodec/cbs_h2645.c av_assert0(nal->type == H264_NAL_SEI); av_assert0 1604 libavcodec/cbs_h2645.c av_assert0(position >= 0 && position < sei->payload_count); av_assert0 541 libavcodec/cbs_h265_syntax_template.c av_assert0(num_delta_pocs < HEVC_MAX_DPB_SIZE); av_assert0 293 libavcodec/cbs_jpeg.c av_assert0(pos % 8 == 0); av_assert0 343 libavcodec/cbs_jpeg.c av_assert0(put_bits_count(pbc) % 8 == 0); av_assert0 434 libavcodec/cbs_jpeg.c av_assert0(sp <= unit->data_size); av_assert0 452 libavcodec/cbs_jpeg.c av_assert0(dp == size); av_assert0 342 libavcodec/cbs_mpeg2.c av_assert0(slice->data_bit_start >= 0 && av_assert0 414 libavcodec/cbs_mpeg2.c av_assert0(dp == size); av_assert0 71 libavcodec/cbs_mpeg2_syntax_template.c av_assert0(k % 8 == 0); av_assert0 103 libavcodec/cbs_vp9.c av_assert0(range_min <= range_max && range_max - range_min < sizeof(bits) - 1); av_assert0 137 libavcodec/cbs_vp9.c av_assert0(range_min <= range_max && range_max - range_min < 8); av_assert0 179 libavcodec/cbs_vp9.c av_assert0(width % 8 == 0); av_assert0 216 libavcodec/cbs_vp9.c av_assert0(width % 8 == 0); av_assert0 511 libavcodec/cbs_vp9.c av_assert0(pos % 8 == 0); av_assert0 513 libavcodec/cbs_vp9.c av_assert0(pos <= unit->data_size); av_assert0 541 libavcodec/cbs_vp9.c av_assert0(put_bits_count(pbc) % 8 == 0); av_assert0 597 libavcodec/cbs_vp9.c av_assert0(size_len <= 4); av_assert0 617 libavcodec/cbs_vp9.c av_assert0(size - pos > frag->units[i].data_size); av_assert0 622 libavcodec/cbs_vp9.c av_assert0(size - pos == 2 + frag->nb_units * size_len); av_assert0 634 libavcodec/cbs_vp9.c av_assert0(put_bits_left(&pbc) == 0); av_assert0 351 libavcodec/cfhddata.c av_assert0(s->vlc_18.table_size == 4572); av_assert0 825 libavcodec/cinepakenc.c av_assert0(i >= size); // training set is no smaller than the codebook av_assert0 696 libavcodec/dca_lbr.c av_assert0(0); av_assert0 144 libavcodec/dca_parser.c av_assert0(0); av_assert0 85 libavcodec/dcadec.c av_assert0(DCA_HAS_STEREO(ch_mask)); av_assert0 117 libavcodec/dcadec.c av_assert0(DCA_HAS_STEREO(ch_mask)); av_assert0 618 libavcodec/dcaenc.c av_assert0(peak_cb <= 0); av_assert0 619 libavcodec/dcaenc.c av_assert0(peak_cb >= -2047); av_assert0 639 libavcodec/dcaenc.c av_assert0((ff_dca_quant_levels[abits] - 1) / 2 >= quantize_value(peak, *quant)); av_assert0 708 libavcodec/dcaenc.c av_assert0(!((!!vlc_bits[i][0]) ^ (!!clc_bits[i]))); av_assert0 1075 libavcodec/dcaenc.c av_assert0(c->abits[ch][band] > 0); av_assert0 1344 libavcodec/dcahuff.c av_assert0(id < bitalloc_sizes[table]); av_assert0 1355 libavcodec/dcahuff.c av_assert0(id < bitalloc_sizes[table]); av_assert0 528 libavcodec/decode.c av_assert0(frame->buf[0]); av_assert0 551 libavcodec/decode.c av_assert0(!frame->buf[0]); av_assert0 564 libavcodec/decode.c av_assert0((frame->private_ref && frame->private_ref->size == sizeof(FrameDecodeData)) || av_assert0 731 libavcodec/decode.c av_assert0(avci->compat_decode_consumed == 0); av_assert0 844 libavcodec/decode.c av_assert0(cd != (iconv_t)-1); av_assert0 1291 libavcodec/decode.c av_assert0(n >= 1); av_assert0 1545 libavcodec/decode.c default: av_assert0(0); av_assert0 1577 libavcodec/decode.c av_assert0(frame->nb_extended_buf == 0); av_assert0 1806 libavcodec/decode.c av_assert0(frame->data[i]); av_assert0 1928 libavcodec/decode.c av_assert0(avctx->codec_type == AVMEDIA_TYPE_VIDEO); av_assert0 47 libavcodec/dfa.c av_assert0(av_image_check_size(avctx->width, avctx->height, 0, avctx) >= 0); av_assert0 327 libavcodec/diracdec.c av_assert0(stride >= w); av_assert0 247 libavcodec/dnxhdenc.c av_assert0(!alevel || j < 257); av_assert0 257 libavcodec/dnxhdenc.c av_assert0(run < 63); av_assert0 429 libavcodec/dnxhdenc.c av_assert0(index >= 0); av_assert0 487 libavcodec/dnxhdenc.c av_assert0(ctx->frame_size >= 0); av_assert0 62 libavcodec/dolby_e.c av_assert0(nb_words <= 1024u); av_assert0 85 libavcodec/dolby_e.c av_assert0(0); av_assert0 519 libavcodec/dolby_e.c av_assert0(0); av_assert0 202 libavcodec/dvbsubdec.c av_assert0(obj2); av_assert0 556 libavcodec/dvdsubdec.c av_assert0(buf_size >= 0 && ctx->buf_size <= sizeof(ctx->buf)); av_assert0 65 libavcodec/dvdsubenc.c av_assert0(color < 4); av_assert0 439 libavcodec/dvdsubenc.c av_assert0(sizeof(dvdc->global_palette) == sizeof(default_palette)); av_assert0 411 libavcodec/dxva2_h264.c av_assert0((dsc11->DataSize & 127) == 0); av_assert0 424 libavcodec/dxva2_h264.c av_assert0((dsc2->DataSize & 127) == 0); av_assert0 43 libavcodec/dxva2_hevc.c av_assert0((index & 0x7f) == index && (flag & 0x01) == flag); av_assert0 349 libavcodec/dxva2_hevc.c av_assert0(((current - dxva_data) & 127) == 0); av_assert0 366 libavcodec/dxva2_hevc.c av_assert0(ctx_pic); av_assert0 39 libavcodec/dxva2_vp9.c av_assert0((index & 0x7f) == index && (flag & 0x01) == flag); av_assert0 262 libavcodec/dxva2_vp9.c av_assert0(ctx_pic); av_assert0 45 libavcodec/encode.c av_assert0(!avpkt->data || avpkt->data != avctx->internal->byte_buffer); av_assert0 196 libavcodec/encode.c av_assert0(avctx->codec->encode2); av_assert0 293 libavcodec/encode.c av_assert0(avctx->codec->encode2); av_assert0 304 libavcodec/encode.c av_assert0(ret <= 0); av_assert0 382 libavcodec/encode.c av_assert0(!avctx->internal->buffer_pkt->data || avctx->internal->buffer_pkt->buf); av_assert0 437 libavcodec/encode.c av_assert0(!avpkt->data || avpkt->buf); av_assert0 47 libavcodec/error_resilience.c av_assert0(s->quarter_sample); av_assert0 716 libavcodec/error_resilience.c av_assert0(next_blocklist_length <= mb_height * mb_width); av_assert0 1214 libavcodec/error_resilience.c av_assert0(s->avctx->codec_id != AV_CODEC_ID_H264); av_assert0 121 libavcodec/ffv1.c av_assert0(f->max_slice_count > 0); av_assert0 171 libavcodec/ffv1dec.c av_assert0(f->version > 2); av_assert0 803 libavcodec/ffv1dec.c av_assert0(context_count >= 0); av_assert0 1035 libavcodec/ffv1dec.c av_assert0(!fdst->plane[0].state); av_assert0 1036 libavcodec/ffv1dec.c av_assert0(!fdst->sample_buffer); av_assert0 387 libavcodec/ffv1enc.c av_assert0(f->plane[j].quant_table_index == f->context_model); av_assert0 697 libavcodec/ffv1enc.c av_assert0(s->bits_per_raw_sample >= 8); av_assert0 798 libavcodec/ffv1enc.c av_assert0(s->version >= 2); av_assert0 916 libavcodec/ffv1enc.c av_assert0(!sf->rc_stat2[i]); av_assert0 940 libavcodec/ffv1enc.c av_assert0(f->plane[j].quant_table_index == f->context_model); av_assert0 1105 libavcodec/ffv1enc.c av_assert0(fs->slice_coding_mode == 0); av_assert0 1141 libavcodec/ffv1enc.c av_assert0(f->slice_count == f->max_slice_count); av_assert0 1225 libavcodec/ffv1enc.c av_assert0(fs->c.bytestream_end >= fs->c.bytestream_start + len); av_assert0 1226 libavcodec/ffv1enc.c av_assert0(fs->c.bytestream < fs->c.bytestream_start + len); av_assert0 1245 libavcodec/ffv1enc.c av_assert0(bytes < pkt->size / f->slice_count); av_assert0 1247 libavcodec/ffv1enc.c av_assert0(bytes < (1 << 24)); av_assert0 140 libavcodec/flacdec.c av_assert0(s->flac_stream_info.max_blocksize); av_assert0 168 libavcodec/flacenc.c av_assert0(samplerate > 0); av_assert0 177 libavcodec/frame_thread_encoder.c av_assert0(!avctx->internal->frame_thread_encoder); av_assert0 226 libavcodec/frame_thread_encoder.c av_assert0(!thread_avctx->internal->frame_thread_encoder); av_assert0 515 libavcodec/gdv.c av_assert0(0); av_assert0 404 libavcodec/gif.c av_assert0(avctx->pix_fmt == AV_PIX_FMT_PAL8); av_assert0 59 libavcodec/gsm_parser.c av_assert0(0); av_assert0 400 libavcodec/h261dec.c av_assert0(h->mtype < FF_ARRAY_ELEMS(ff_h261_mtype_map)); av_assert0 658 libavcodec/h261dec.c av_assert0(s->current_picture.f->pict_type == s->current_picture_ptr->f->pict_type); av_assert0 659 libavcodec/h261dec.c av_assert0(s->current_picture.f->pict_type == s->pict_type); av_assert0 330 libavcodec/h261enc.c av_assert0(MAX_LEVEL >= 64); av_assert0 331 libavcodec/h261enc.c av_assert0(MAX_RUN >= 63); av_assert0 115 libavcodec/h2645_parse.c av_assert0(nal->skipped_bytes_pos_size >= nal->skipped_bytes); av_assert0 218 libavcodec/h2645_parse.c av_assert0(nal_type >= 0 && nal_type < 64); av_assert0 259 libavcodec/h2645_parse.c av_assert0(nal_type >= 0 && nal_type < 32); av_assert0 355 libavcodec/h2645_parse.c av_assert0(rbsp->rbsp_buffer); av_assert0 364 libavcodec/h264_cavlc.c av_assert0(offset == FF_ARRAY_ELEMS(coeff_token_vlc_tables)); av_assert0 144 libavcodec/h264_direct.c av_assert0(cur->mbaff == FRAME_MBAFF(h)); av_assert0 70 libavcodec/h264_picture.c av_assert0(!dst->f->buf[0]); av_assert0 71 libavcodec/h264_picture.c av_assert0(src->f->buf[0]); av_assert0 72 libavcodec/h264_picture.c av_assert0(src->tf.f == src->f); av_assert0 90 libavcodec/h264_refs.c av_assert0(index < def_len); av_assert0 95 libavcodec/h264_refs.c av_assert0(index < def_len); av_assert0 153 libavcodec/h264_refs.c av_assert0(len <= 32); av_assert0 160 libavcodec/h264_refs.c av_assert0(len <= 32); av_assert0 181 libavcodec/h264_refs.c av_assert0(len <= 32); av_assert0 373 libavcodec/h264_refs.c av_assert0(0); av_assert0 413 libavcodec/h264_refs.c av_assert0(av_buffer_get_ref_count(sl->ref_list[list][index].parent->f->buf[0]) > 0); av_assert0 704 libavcodec/h264_refs.c av_assert0(!h->cur_pic_ptr->long_ref); av_assert0 735 libavcodec/h264_refs.c default: av_assert0(0); av_assert0 191 libavcodec/h264_slice.c av_assert0(!pic->f->data[0]); av_assert0 201 libavcodec/h264_slice.c av_assert0(!pic->hwaccel_picture_private); av_assert0 879 libavcodec/h264_slice.c av_assert0(sps->crop_right + sps->crop_left < (unsigned)h->width); av_assert0 880 libavcodec/h264_slice.c av_assert0(sps->crop_top + sps->crop_bottom < (unsigned)h->height); av_assert0 1384 libavcodec/h264_slice.c av_assert0(pics <= MAX_DELAYED_PIC_COUNT); av_assert0 1498 libavcodec/h264_slice.c av_assert0(h->cur_pic_ptr); av_assert0 1499 libavcodec/h264_slice.c av_assert0(h->cur_pic_ptr->f->buf[0]); av_assert0 1613 libavcodec/h264_slice.c av_assert0(h->cur_pic_ptr); av_assert0 1614 libavcodec/h264_slice.c av_assert0(h->cur_pic_ptr->f->buf[0]); av_assert0 1741 libavcodec/h264_slice.c av_assert0(!h->setup_finished); av_assert0 2144 libavcodec/h264_slice.c av_assert0(sl == h->slice_ctx); av_assert0 2590 libavcodec/h264_slice.c av_assert0(h->block_offset[15] == (4 * ((scan8[15] - scan8[0]) & 7) << h->pixel_shift) + 4 * sl->linesize * ((scan8[15] - scan8[0]) >> 3)); av_assert0 2798 libavcodec/h264_slice.c av_assert0(context_count && h->slice_ctx[context_count - 1].mb_y < h->mb_height); av_assert0 2810 libavcodec/h264_slice.c av_assert0(context_count > 0); av_assert0 1022 libavcodec/h264dec.c av_assert0(buf_index <= buf_size); av_assert0 1047 libavcodec/h264dec.c av_assert0(pict->buf[0] || !*got_frame); av_assert0 150 libavcodec/h264dsp.c av_assert0(bit_depth<=8); av_assert0 590 libavcodec/h264pred.c av_assert0(bit_depth<=8); av_assert0 100 libavcodec/hevc_ps.c av_assert0(!(s->sps_list[id] && s->sps == (HEVCSPS*)s->sps_list[id]->data)); av_assert0 117 libavcodec/hevc_refs.c av_assert0(!frame->hwaccel_picture_private); av_assert0 201 libavcodec/htmlsubtitles.c av_assert0(in[0] == '<'); av_assert0 146 libavcodec/huffyuvdec.c av_assert0(i < (1 << VLC_BITS)); av_assert0 181 libavcodec/huffyuvdec.c av_assert0(i < (1 << VLC_BITS)); av_assert0 402 libavcodec/huffyuvdec.c av_assert0(s->bgr32); av_assert0 168 libavcodec/huffyuvenc.c av_assert0(val < 32 && val >0 && repeat < 256 && repeat>0); av_assert0 41 libavcodec/imgconvert.c av_assert0(desc); av_assert0 721 libavcodec/ituh263enc.c av_assert0(MAX_LEVEL >= 64); av_assert0 722 libavcodec/ituh263enc.c av_assert0(MAX_RUN >= 63); av_assert0 91 libavcodec/ivi.c av_assert0(offs >= 0 && ref_offs >= 0 && band->ref_buf); av_assert0 92 libavcodec/ivi.c av_assert0(buf_size - min_size >= offs); av_assert0 93 libavcodec/ivi.c av_assert0(buf_size - min_size - ref_size >= ref_offs); av_assert0 356 libavcodec/ivi.c av_assert0(!band->bufs[0] && !band->bufs[1] && av_assert0 359 libavcodec/ivi.c av_assert0(buf_size % 2 == 0); av_assert0 1022 libavcodec/j2kenc.c av_assert0(s->buf == pkt->data); av_assert0 47 libavcodec/jpeg2000.c av_assert0(res + 1 < INT32_MAX); av_assert0 1663 libavcodec/jpeg2000dec.c av_assert0(width <= 1024U && height <= 1024U); av_assert0 1664 libavcodec/jpeg2000dec.c av_assert0(width*height <= 4096); av_assert0 286 libavcodec/jpeglsdec.c av_assert0(x <= w); av_assert0 33 libavcodec/kbdwin.c av_assert0(n <= FF_KBD_WINDOW_MAX); av_assert0 118 libavcodec/lclenc.c av_assert0(avctx->width && avctx->height); av_assert0 356 libavcodec/libaomenc.c av_assert0(tile_dim > 0); av_assert0 382 libavcodec/libaomenc.c av_assert0(ctx->tile_cols > 0); av_assert0 395 libavcodec/libaomenc.c av_assert0(ctx->tile_rows > 0); av_assert0 911 libavcodec/libaomenc.c av_assert0(!ctx->coded_frame_list); av_assert0 958 libavcodec/libaomenc.c av_assert0(!ctx->have_sse); av_assert0 174 libavcodec/libdav1d.c av_assert0(data == opaque); av_assert0 243 libavcodec/libdav1d.c av_assert0(p->data[0] && p->allocator_data); av_assert0 250 libavcodec/libkvazaar.c av_assert0(written + chunk->len <= len_out); av_assert0 90 libavcodec/librav1e.c av_assert0(0); av_assert0 249 libavcodec/libvorbisenc.c av_assert0(offset == avctx->extradata_size); av_assert0 353 libavcodec/libvorbisenc.c av_assert0(!s->afq.remaining_delay); av_assert0 677 libavcodec/libvpxenc.c av_assert0(!avctx->bit_rate); av_assert0 702 libavcodec/libvpxenc.c av_assert0(!avctx->bit_rate); av_assert0 720 libavcodec/libvpxenc.c av_assert0(!avctx->bit_rate); av_assert0 1202 libavcodec/libvpxenc.c av_assert0(!ctx->coded_frame_list); av_assert0 1256 libavcodec/libvpxenc.c av_assert0(!ctx->have_sse); av_assert0 683 libavcodec/libxvid.c av_assert0(xvid_enc_create.num_plugins + (!!x->ssim) + (!!x->variance_aq) + (!!x->lumi_aq) <= FF_ARRAY_ELEMS(plugins)); av_assert0 267 libavcodec/loco.c av_assert0(0); av_assert0 215 libavcodec/lpc.c av_assert0(lpc_type == FF_LPC_TYPE_CHOLESKY || lpc_type == FF_LPC_TYPE_LEVINSON); av_assert0 211 libavcodec/lzwenc.c av_assert0(s->maxbits >= 9 && s->maxbits <= LZW_MAXBITS); av_assert0 311 libavcodec/magicyuvenc.c av_assert0(max_length > 0); av_assert0 721 libavcodec/mediacodec_wrapper.c av_assert0(format != NULL); av_assert0 747 libavcodec/mediacodec_wrapper.c av_assert0(format != NULL); av_assert0 786 libavcodec/mediacodec_wrapper.c av_assert0(format != NULL); av_assert0 825 libavcodec/mediacodec_wrapper.c av_assert0(format != NULL); av_assert0 865 libavcodec/mediacodec_wrapper.c av_assert0(format != NULL); av_assert0 923 libavcodec/mediacodec_wrapper.c av_assert0(format != NULL); av_assert0 969 libavcodec/mediacodec_wrapper.c av_assert0(format != NULL); av_assert0 994 libavcodec/mediacodec_wrapper.c av_assert0(format != NULL); av_assert0 1019 libavcodec/mediacodec_wrapper.c av_assert0(format != NULL); av_assert0 1045 libavcodec/mediacodec_wrapper.c av_assert0(format != NULL); av_assert0 1081 libavcodec/mediacodec_wrapper.c av_assert0(format != NULL); av_assert0 1215 libavcodec/mediacodec_wrapper.c av_assert0(0); av_assert0 361 libavcodec/mediacodecdec.c av_assert0(0); av_assert0 937 libavcodec/mips/aaccoder_mips.c av_assert0(0); av_assert0 1016 libavcodec/mips/aaccoder_mips.c av_assert0(0); av_assert0 1512 libavcodec/mips/aaccoder_mips.c av_assert0(0); av_assert0 62 libavcodec/mjpegdec.c av_assert0(nb_codes <= 256); av_assert0 526 libavcodec/mjpegdec.c av_assert0(s->nb_components == 3); av_assert0 539 libavcodec/mjpegdec.c av_assert0(s->nb_components == 4); av_assert0 557 libavcodec/mjpegdec.c av_assert0(s->nb_components == 4); av_assert0 1239 libavcodec/mjpegdec.c av_assert0(nb_components>=1 && nb_components<=4); av_assert0 1542 libavcodec/mjpegdec.c av_assert0(ss>=0 && Ah>=0 && Al>=0); av_assert0 1733 libavcodec/mjpegdec.c av_assert0(bytes_to_start >= 0 && av_assert0 1743 libavcodec/mjpegdec.c av_assert0(s->picture_ptr == s->picture); av_assert0 1764 libavcodec/mjpegdec.c av_assert0(s->picture_ptr == s->picture); av_assert0 2587 libavcodec/mjpegdec.c av_assert0(avctx->pix_fmt == AV_PIX_FMT_YUVJ444P || av_assert0 2604 libavcodec/mjpegdec.c av_assert0(s->nb_components == av_pix_fmt_count_planes(s->picture_ptr->format)); av_assert0 2617 libavcodec/mjpegdec.c av_assert0(w > 0); av_assert0 2648 libavcodec/mjpegdec.c av_assert0(avctx->pix_fmt == AV_PIX_FMT_YUVJ444P || av_assert0 2666 libavcodec/mjpegdec.c av_assert0(s->nb_components == av_pix_fmt_count_planes(s->picture_ptr->format)); av_assert0 2697 libavcodec/mjpegdec.c av_assert0(s->nb_components == av_pix_fmt_count_planes(s->picture_ptr->format)); av_assert0 2720 libavcodec/mjpegdec.c av_assert0(s->nb_components == 4); av_assert0 2743 libavcodec/mjpegdec.c av_assert0(s->nb_components == 4); av_assert0 57 libavcodec/mjpegenc.c default: av_assert0(0); av_assert0 75 libavcodec/mjpegenc.c av_assert0(s->slice_context_count == 1); av_assert0 159 libavcodec/mjpegenc.c av_assert0(run == 0); av_assert0 275 libavcodec/mjpegenc_common.c default: av_assert0(0); av_assert0 346 libavcodec/mjpegenc_common.c default: av_assert0(0); av_assert0 354 libavcodec/mjpegenc_common.c av_assert0(avctx->codec->priv_data_size == sizeof(MpegEncContext)); av_assert0 90 libavcodec/mjpegenc_huffman.c av_assert0(max_length > 0); av_assert0 172 libavcodec/mjpegenc_huffman.c av_assert0 (nval <= max_nval); av_assert0 655 libavcodec/mlpdec.c av_assert0(filter < 2); av_assert0 177 libavcodec/mmaldec.c av_assert0(atomic_load(&ctx->packets_buffered) == 0); av_assert0 900 libavcodec/motion_est.c av_assert0(s->quarter_sample==0 || s->quarter_sample==1); av_assert0 901 libavcodec/motion_est.c av_assert0(s->linesize == c->stride); av_assert0 902 libavcodec/motion_est.c av_assert0(s->uvlinesize == c->uvstride); av_assert0 1071 libavcodec/motion_est.c av_assert0(s->quarter_sample==0 || s->quarter_sample==1); av_assert0 1656 libavcodec/motion_est.c av_assert0(s->pict_type==AV_PICTURE_TYPE_P); av_assert0 1660 libavcodec/motion_est.c av_assert0(range <= 16 || !s->msmpeg4_version); av_assert0 1661 libavcodec/motion_est.c av_assert0(range <=256 || !(s->codec_id == AV_CODEC_ID_MPEG2VIDEO && s->avctx->strict_std_compliance >= FF_COMPLIANCE_NORMAL)); av_assert0 75 libavcodec/mpeg12.c av_assert0(static_size <= FF_ARRAY_ELEMS(table)); av_assert0 902 libavcodec/mpeg12dec.c av_assert0(!s->progressive_sequence); av_assert0 1322 libavcodec/mpeg12dec.c default: av_assert0(0); av_assert0 1721 libavcodec/mpeg12dec.c av_assert0(mb_y < s->mb_height); av_assert0 2483 libavcodec/mpeg12dec.c av_assert0(avctx->thread_count > 1); av_assert0 2749 libavcodec/mpeg12dec.c av_assert0(avctx->thread_count > 1); av_assert0 383 libavcodec/mpeg12enc.c av_assert0(s->drop_frame_timecode == !!(s->tc.flags & AV_TIMECODE_FLAG_DROPFRAME)); av_assert0 483 libavcodec/mpeg12enc.c av_assert0(s->picture_structure == PICT_FRAME); av_assert0 790 libavcodec/mpeg12enc.c av_assert0(s->mb_skip_run == 0); av_assert0 1182 libavcodec/mpeg4videoenc.c av_assert0(MAX_LEVEL >= 64); av_assert0 1183 libavcodec/mpeg4videoenc.c av_assert0(MAX_RUN >= 63); av_assert0 319 libavcodec/mpegaudiodec_template.c av_assert0(offset == FF_ARRAY_ELEMS(huff_vlc_tables)); av_assert0 330 libavcodec/mpegaudiodec_template.c av_assert0(offset == FF_ARRAY_ELEMS(huff_quad_vlc_tables)); av_assert0 1632 libavcodec/mpegaudiodec_template.c av_assert0(s->frame); av_assert0 598 libavcodec/mpegaudioenc_template.c av_assert0(*padding >= 0); av_assert0 250 libavcodec/mpegpicture.c av_assert0(pic->f->data[0]); av_assert0 253 libavcodec/mpegpicture.c av_assert0(!pic->f->buf[0]); av_assert0 370 libavcodec/mpegpicture.c av_assert0(!dst->f->buf[0]); av_assert0 371 libavcodec/mpegpicture.c av_assert0(src->f->buf[0]); av_assert0 500 libavcodec/mpegvideo.c av_assert0(s != s1); av_assert0 542 libavcodec/mpegvideo.c av_assert0(!s->picture || s->picture != s1->picture); av_assert0 1391 libavcodec/mpegvideo.c av_assert0(s->pict_type == AV_PICTURE_TYPE_I || (s->last_picture_ptr && av_assert0 1450 libavcodec/mpegvideo.c av_assert0(ref->size >= offset + s->mb_stride * ((f->height+15)/16)); av_assert0 1377 libavcodec/mpegvideo_enc.c av_assert0(scale >= 0 && scale <= 3); av_assert0 1870 libavcodec/mpegvideo_enc.c av_assert0(s->pb.buf == avctx->internal->byte_buffer); av_assert0 1935 libavcodec/mpegvideo_enc.c av_assert0(s->avctx->rc_max_rate); av_assert0 2016 libavcodec/mpegvideo_enc.c av_assert0(vbv_delay < 0xFFFF); av_assert0 2669 libavcodec/mpegvideo_enc.c av_assert0(s->linesize >= 32); //FIXME av_assert0 3910 libavcodec/mpegvideo_enc.c av_assert0(0); av_assert0 294 libavcodec/msmpeg4enc.c av_assert0(s->flipflop_rounding==0); av_assert0 444 libavcodec/mss2.c av_assert0(f->linesize[1] == f->linesize[2]); av_assert0 611 libavcodec/mss2.c av_assert0(frame->linesize[0] == ctx->last_pic->linesize[0]); av_assert0 143 libavcodec/options.c av_assert0(ret >= 0); av_assert0 278 libavcodec/options.c av_assert0(dest->subtitle_header_size == src->subtitle_header_size); av_assert0 43 libavcodec/opus_rc.c av_assert0(rc->rng_cur < rc->rb.position); av_assert0 175 libavcodec/opus_rc.c av_assert0(rc->rng_cur < rc->rb.position); av_assert0 396 libavcodec/pafvideo.c av_assert0(0); av_assert0 168 libavcodec/parser.c av_assert0(index > -0x20000000); // The API does not allow returning AVERROR codes av_assert0 274 libavcodec/parser.c av_assert0(next >= 0 || pc->buffer); av_assert0 149 libavcodec/pcm_rechunk_bsf.c av_assert0(s->in_pkt->size == data_size); av_assert0 1161 libavcodec/pngdec.c av_assert0(s->bpp <= 10); av_assert0 1402 libavcodec/pngdec.c av_assert0(s->bit_depth > 1); av_assert0 198 libavcodec/pngenc.c av_assert0(bpp || !pred); av_assert0 167 libavcodec/pnm.c av_assert0(0); av_assert0 89 libavcodec/pnm_parser.c av_assert0(pnmpc->ascii_scan <= end - bs); av_assert0 164 libavcodec/prosumer.c av_assert0(s->size >= bytestream2_get_bytes_left_p(&s->pb)); av_assert0 155 libavcodec/pthread_frame.c av_assert0(fctx->async_lock); av_assert0 190 libavcodec/pthread_frame.c av_assert0(!p->hwaccel_serializing); av_assert0 381 libavcodec/pthread_frame.c av_assert0(p->avctx->codec_type == AVMEDIA_TYPE_VIDEO || av_assert0 209 libavcodec/pthread_slice.c av_assert0(p->thread_count == avctx->thread_count); av_assert0 82 libavcodec/put_bits.h av_assert0(8*buffer_size >= put_bits_count(s)); av_assert0 108 libavcodec/put_bits.h av_assert0(s->buf_ptr < s->buf_end); av_assert0 125 libavcodec/put_bits.h av_assert0(s->buf_ptr < s->buf_end); av_assert0 337 libavcodec/put_bits.h av_assert0(n <= s->buf_end - s->buf_ptr); av_assert0 360 libavcodec/put_bits.h av_assert0(size <= INT_MAX/8 - 32); av_assert0 289 libavcodec/qsv.c av_assert0(0); av_assert0 124 libavcodec/ratecontrol.c av_assert0(qmin <= qmax); av_assert0 374 libavcodec/ratecontrol.c av_assert0(filter_size % 2 == 1); av_assert0 446 libavcodec/ratecontrol.c av_assert0(toobig <= 40); av_assert0 586 libavcodec/ratecontrol.c av_assert0(picture_number >= 0); av_assert0 587 libavcodec/ratecontrol.c av_assert0(picture_number < rcc->num_entries); av_assert0 904 libavcodec/ratecontrol.c av_assert0(picture_number >= 0); av_assert0 939 libavcodec/ratecontrol.c av_assert0(pict_type == rce->new_pict_type); av_assert0 978 libavcodec/ratecontrol.c av_assert0(q > 0.0); av_assert0 980 libavcodec/ratecontrol.c av_assert0(q > 0.0); av_assert0 991 libavcodec/ratecontrol.c av_assert0(q > 0.0); av_assert0 997 libavcodec/ratecontrol.c av_assert0(q > 0.0); av_assert0 301 libavcodec/rawdec.c av_assert0(avctx->bits_per_coded_sample == 1); av_assert0 110 libavcodec/rl.c av_assert0(static_size <= FF_ARRAY_ELEMS(table)); av_assert0 461 libavcodec/rv10.c av_assert0(s->pict_type != AV_PICTURE_TYPE_B || !s->low_delay); av_assert0 46 libavcodec/rv20enc.c av_assert0(s->f_code == 1); av_assert0 47 libavcodec/rv20enc.c av_assert0(s->unrestricted_mv == 0); av_assert0 48 libavcodec/rv20enc.c av_assert0(s->alt_inter_vlc == 0); av_assert0 49 libavcodec/rv20enc.c av_assert0(s->umvplus == 0); av_assert0 50 libavcodec/rv20enc.c av_assert0(s->modified_quant==1); av_assert0 51 libavcodec/rv20enc.c av_assert0(s->loop_filter==1); av_assert0 1788 libavcodec/rv34.c av_assert0 (size >= 0 && size <= buf_size - offset); av_assert0 171 libavcodec/smvjpegdec.c av_assert0(desc); av_assert0 717 libavcodec/snow.c av_assert0(s->last_picture[i]->data[0] != s->current_picture->data[0]); av_assert0 66 libavcodec/snow_dwt.c av_assert0(buf->data_stack_top >= 0); av_assert0 504 libavcodec/snowdec.c av_assert0(!s->avmv); av_assert0 273 libavcodec/snowenc.c av_assert0(sizeof(s->block_state) >= 256); av_assert0 1521 libavcodec/snowenc.c av_assert0(coef_sum < INT_MAX); av_assert0 1675 libavcodec/snowenc.c av_assert0(s->current_picture->data[0]); av_assert0 1676 libavcodec/snowenc.c av_assert0(s->last_picture[0]->data[0]); av_assert0 1820 libavcodec/snowenc.c av_assert0(b->parent==NULL || b->parent->stride == b->stride*2); av_assert0 516 libavcodec/speedhq.c av_assert0(entry == FF_ARRAY_ELEMS(run_code)); av_assert0 556 libavcodec/speedhq.c av_assert0(entry == FF_ARRAY_ELEMS(level_code)); av_assert0 199 libavcodec/svq1dec.c av_assert0(stages >= 0); av_assert0 263 libavcodec/svq1dec.c av_assert0(stages >= 0); av_assert0 167 libavcodec/svq1enc.c av_assert0(best_vector_mean != -999); av_assert0 104 libavcodec/tests/cabac.c av_assert0(c->low <= 0x1FF); av_assert0 28 libavcodec/tests/celp_math.c av_assert0(diff <= largest * epsilon); av_assert0 43 libavcodec/tests/celp_math.c av_assert0(212 == d); av_assert0 46 libavcodec/tests/celp_math.c av_assert0(ff_log2_q15(i) == (1<<15)*((int)log2(i))+(1<<2)); av_assert0 42 libavcodec/tests/mjpegenc_huffman.c av_assert0(nprobs <= 256); av_assert0 588 libavcodec/tiff.c av_assert0(width <= bytes_per_row); av_assert0 589 libavcodec/tiff.c av_assert0(s->bpp == 24); av_assert0 592 libavcodec/tiff.c av_assert0(width == (s->bpp * s->width + 7) >> 3); av_assert0 717 libavcodec/tiff.c av_assert0 (elements * pixel_size_bytes <= FFABS(stride)); av_assert0 131 libavcodec/tiffenc.c av_assert0(s->num_entries < TIFF_MAX_ENTRY); av_assert0 417 libavcodec/utils.c av_assert0(desc->flags & AV_PIX_FMT_FLAG_PLANAR); av_assert0 1007 libavcodec/utils.c av_assert0(*(const AVClass **)avctx->priv_data == codec->priv_class); av_assert0 1074 libavcodec/utils.c av_assert0(!(caps & AV_CODEC_CAP_FRAME_THREADS)); av_assert0 1449 libavcodec/utils.c av_assert0(AV_CODEC_ID_PCM_S8_PLANAR==65563); av_assert0 1450 libavcodec/utils.c av_assert0(AV_CODEC_ID_ADPCM_G722==69660); av_assert0 1451 libavcodec/utils.c av_assert0(AV_CODEC_ID_SRT==94216); av_assert0 1452 libavcodec/utils.c av_assert0(LIBAVCODEC_VERSION_MICRO >= 100); av_assert0 1851 libavcodec/utils.c av_assert0(!dst->progress); av_assert0 1951 libavcodec/utils.c av_assert0(p <= end); av_assert0 40 libavcodec/vaapi_decode.c av_assert0(pic->nb_param_buffers + 1 <= MAX_PARAM_BUFFERS); av_assert0 70 libavcodec/vaapi_decode.c av_assert0(pic->nb_slices <= pic->slices_allocated); av_assert0 84 libavcodec/vaapi_decode.c av_assert0(pic->nb_slices + 1 <= pic->slices_allocated); av_assert0 291 libavcodec/vaapi_decode.c av_assert0(source_format != AV_PIX_FMT_NONE); av_assert0 124 libavcodec/vaapi_encode.c av_assert0(buffer_size <= sizeof(buffer)); av_assert0 140 libavcodec/vaapi_encode.c av_assert0(pic->encode_issued); av_assert0 190 libavcodec/vaapi_encode.c av_assert0(!pic->encode_issued); av_assert0 192 libavcodec/vaapi_encode.c av_assert0(pic->refs[i]); av_assert0 193 libavcodec/vaapi_encode.c av_assert0(pic->refs[i]->encode_issued); av_assert0 228 libavcodec/vaapi_encode.c av_assert0(!ctx->codec_picture_params); av_assert0 362 libavcodec/vaapi_encode.c av_assert0(rounding < pic->nb_slices); av_assert0 377 libavcodec/vaapi_encode.c av_assert0(rounding < ctx->slice_size); av_assert0 455 libavcodec/vaapi_encode.c av_assert0(roi_size && sd->size % roi_size == 0); av_assert0 476 libavcodec/vaapi_encode.c av_assert0(roi->qoffset.den != 0); av_assert0 713 libavcodec/vaapi_encode.c av_assert0(pic->output_buffer == VA_INVALID_ID); av_assert0 732 libavcodec/vaapi_encode.c av_assert0(pic != target); av_assert0 733 libavcodec/vaapi_encode.c av_assert0(pic->nb_refs < MAX_PICTURE_REFERENCES); av_assert0 739 libavcodec/vaapi_encode.c av_assert0(pic->nb_dpb_pics < MAX_DPB_SIZE); av_assert0 745 libavcodec/vaapi_encode.c av_assert0(!pic->prev); av_assert0 764 libavcodec/vaapi_encode.c av_assert0(pic->refs[i]); av_assert0 766 libavcodec/vaapi_encode.c av_assert0(pic->refs[i]->ref_count[level] >= 0); av_assert0 770 libavcodec/vaapi_encode.c av_assert0(pic->dpb[i]); av_assert0 772 libavcodec/vaapi_encode.c av_assert0(pic->dpb[i]->ref_count[level] >= 0); av_assert0 775 libavcodec/vaapi_encode.c av_assert0(pic->prev || pic->type == PICTURE_TYPE_IDR); av_assert0 778 libavcodec/vaapi_encode.c av_assert0(pic->prev->ref_count[level] >= 0); av_assert0 795 libavcodec/vaapi_encode.c av_assert0(start && end && start != end && start->next != end); av_assert0 956 libavcodec/vaapi_encode.c av_assert0(start); av_assert0 987 libavcodec/vaapi_encode.c av_assert0(ctx->pic_start); av_assert0 1006 libavcodec/vaapi_encode.c av_assert0(pic->ref_removed[0] && pic->ref_removed[1]); av_assert0 1130 libavcodec/vaapi_encode.c av_assert0(pic); av_assert0 1172 libavcodec/vaapi_encode.c av_assert0(ctx->nb_global_params < MAX_GLOBAL_PARAMS); av_assert0 1274 libavcodec/vaapi_encode.c av_assert0(ctx->codec->profiles); av_assert0 256 libavcodec/vaapi_encode_h264.c av_assert0(sei->payload_count > 0); av_assert0 632 libavcodec/vaapi_encode_h264.c av_assert0(pic->display_order == pic->encode_order); av_assert0 641 libavcodec/vaapi_encode_h264.c av_assert0(prev); av_assert0 715 libavcodec/vaapi_encode_h264.c av_assert0(ref && ref->encode_order < pic->encode_order); av_assert0 754 libavcodec/vaapi_encode_h264.c av_assert0(prev); av_assert0 759 libavcodec/vaapi_encode_h264.c av_assert0(hn->frame_num < hp->frame_num); av_assert0 764 libavcodec/vaapi_encode_h264.c av_assert0(hc->frame_num != hn->frame_num); av_assert0 774 libavcodec/vaapi_encode_h264.c av_assert0(hc->pic_order_cnt != hp->pic_order_cnt); av_assert0 789 libavcodec/vaapi_encode_h264.c av_assert0(hc->pic_order_cnt != hp->pic_order_cnt); av_assert0 900 libavcodec/vaapi_encode_h264.c av_assert0(keep <= priv->dpb_frames); av_assert0 908 libavcodec/vaapi_encode_h264.c av_assert0(old->frame_num < hpic->frame_num); av_assert0 930 libavcodec/vaapi_encode_h264.c av_assert0(pic->refs[i]); av_assert0 940 libavcodec/vaapi_encode_h264.c av_assert0(href->frame_num != pic_num); av_assert0 959 libavcodec/vaapi_encode_h264.c av_assert0(pic->refs[i]); av_assert0 961 libavcodec/vaapi_encode_h264.c av_assert0(href->pic_order_cnt != hpic->pic_order_cnt); av_assert0 980 libavcodec/vaapi_encode_h264.c av_assert0(href->frame_num != pic_num); av_assert0 993 libavcodec/vaapi_encode_h264.c av_assert0(j == n0); av_assert0 1004 libavcodec/vaapi_encode_h264.c av_assert0(href->frame_num != pic_num); av_assert0 1017 libavcodec/vaapi_encode_h264.c av_assert0(j == n1); av_assert0 1043 libavcodec/vaapi_encode_h264.c av_assert0(pic->nb_refs <= 2); av_assert0 1046 libavcodec/vaapi_encode_h264.c av_assert0(pic->type == PICTURE_TYPE_P || av_assert0 1052 libavcodec/vaapi_encode_h264.c av_assert0(pic->type == PICTURE_TYPE_B); av_assert0 234 libavcodec/vaapi_encode_h265.c av_assert0(sei->payload_count > 0); av_assert0 279 libavcodec/vaapi_encode_h265.c av_assert0(desc); av_assert0 684 libavcodec/vaapi_encode_h265.c av_assert0(pic->display_order == pic->encode_order); av_assert0 692 libavcodec/vaapi_encode_h265.c av_assert0(prev); av_assert0 700 libavcodec/vaapi_encode_h265.c av_assert0(pic->refs[0]); av_assert0 706 libavcodec/vaapi_encode_h265.c av_assert0(pic->refs[0] && pic->refs[1]); av_assert0 820 libavcodec/vaapi_encode_h265.c av_assert0(ref && ref->encode_order < pic->encode_order); av_assert0 865 libavcodec/vaapi_encode_h265.c av_assert0(0 && "invalid picture type"); av_assert0 938 libavcodec/vaapi_encode_h265.c av_assert0(rps_poc[j] != rps_poc[j - 1]); av_assert0 953 libavcodec/vaapi_encode_h265.c av_assert0(rps_poc[i] != hpic->pic_order_cnt); av_assert0 1049 libavcodec/vaapi_encode_h265.c av_assert0(pic->nb_refs <= 2); av_assert0 1052 libavcodec/vaapi_encode_h265.c av_assert0(pic->type == PICTURE_TYPE_P || av_assert0 1058 libavcodec/vaapi_encode_h265.c av_assert0(pic->type == PICTURE_TYPE_B); av_assert0 204 libavcodec/vaapi_encode_mjpeg.c av_assert0(k <= sizeof(huff->huffman_table[t].dc_values)); av_assert0 211 libavcodec/vaapi_encode_mjpeg.c av_assert0(k <= sizeof(huff->huffman_table[t].ac_values)); av_assert0 235 libavcodec/vaapi_encode_mjpeg.c av_assert0(pic->type == PICTURE_TYPE_IDR); av_assert0 238 libavcodec/vaapi_encode_mjpeg.c av_assert0(desc); av_assert0 287 libavcodec/vaapi_encode_mjpeg.c av_assert0(bytestream2_get_bytes_left_p(&pbc) == 0); av_assert0 469 libavcodec/vaapi_encode_mpeg2.c av_assert0(0 && "invalid picture type"); av_assert0 504 libavcodec/vaapi_encode_mpeg2.c av_assert0(0 && "invalid picture type"); av_assert0 89 libavcodec/vaapi_encode_vp8.c av_assert0(pic->nb_refs == 0); av_assert0 97 libavcodec/vaapi_encode_vp8.c av_assert0(pic->nb_refs == 1); av_assert0 107 libavcodec/vaapi_encode_vp8.c av_assert0(0 && "invalid picture type"); av_assert0 91 libavcodec/vaapi_encode_vp9.c av_assert0(pic->nb_refs == 0); av_assert0 97 libavcodec/vaapi_encode_vp9.c av_assert0(pic->nb_refs == 1); av_assert0 100 libavcodec/vaapi_encode_vp9.c av_assert0(href->slot == 0 || href->slot == 1); av_assert0 115 libavcodec/vaapi_encode_vp9.c av_assert0(pic->nb_refs == 2); av_assert0 119 libavcodec/vaapi_encode_vp9.c av_assert0(href0->slot < pic->b_depth + 1 && av_assert0 139 libavcodec/vaapi_encode_vp9.c av_assert0(0 && "invalid picture type"); av_assert0 156 libavcodec/vaapi_encode_vp9.c av_assert0(vpic->reference_frames[slot] == VA_INVALID_SURFACE); av_assert0 880 libavcodec/vc1.c av_assert0( v->s.mb_height == v->s.height + 15 >> 4 av_assert0 291 libavcodec/vc1_block.c av_assert0(index < esc); av_assert0 702 libavcodec/vc1_pred.c av_assert0(!v->field_mode); av_assert0 1051 libavcodec/vc1dec.c av_assert0 (mb_height > 0); av_assert0 1062 libavcodec/vc1dec.c av_assert0((s->mb_height & 1) == 0); av_assert0 81 libavcodec/vcr1.c av_assert0 (bytestream_end - bytestream >= 4 + avctx->width); av_assert0 100 libavcodec/vcr1.c av_assert0 (bytestream_end - bytestream >= avctx->width / 2); av_assert0 170 libavcodec/videotoolbox.c av_assert0(p - vt_extradata == vt_extradata_size); av_assert0 327 libavcodec/videotoolbox.c av_assert0(p - vt_extradata == vt_extradata_size); av_assert0 2185 libavcodec/videotoolboxenc.c av_assert0(frame->format == AV_PIX_FMT_VIDEOTOOLBOX); av_assert0 2188 libavcodec/videotoolboxenc.c av_assert0(*cv_img); av_assert0 2487 libavcodec/videotoolboxenc.c av_assert0(status != 0 || (avctx->extradata && avctx->extradata_size > 0)); av_assert0 198 libavcodec/vmdaudio.c av_assert0(avctx->block_align * silent_chunks <= frame->nb_samples * avctx->channels); av_assert0 212 libavcodec/vmdaudio.c av_assert0((buf_size & (avctx->channels > 1)) == 0); av_assert0 1356 libavcodec/vorbisdec.c av_assert0(temp < 65536); av_assert0 213 libavcodec/vorbisenc.c av_assert0(rc->type == 2); av_assert0 916 libavcodec/vorbisenc.c av_assert0(rc->type == 2); av_assert0 917 libavcodec/vorbisenc.c av_assert0(real_ch == 2); av_assert0 479 libavcodec/vp3dsp.c av_assert0(filter_limit < 128U); av_assert0 143 libavcodec/vp9.c av_assert0(!f->hwaccel_picture_private); av_assert0 202 libavcodec/vp9.c av_assert0(w > 0 && h > 0); av_assert0 1137 libavcodec/vp9.c av_assert0(0); av_assert0 228 libavcodec/vp9_raw_reorder_bsf.c av_assert0(!frame->needs_output && frame->needs_display); av_assert0 238 libavcodec/vp9_raw_reorder_bsf.c av_assert0(s < FRAME_SLOTS); av_assert0 96 libavcodec/vp9_superframe_bsf.c av_assert0(ptr == &out->data[out->size]); av_assert0 154 libavcodec/vp9_superframe_bsf.c av_assert0(s->n_cache > 0); av_assert0 91 libavcodec/vp9dsp.c av_assert0(bpp == 12); av_assert0 2805 libavcodec/wavpackenc.c av_assert0(!bytestream2_get_eof(&pb)); av_assert0 1074 libavcodec/webp.c av_assert0(size <= 1024U); av_assert0 78 libavcodec/wmaenc.c av_assert0(0); av_assert0 165 libavcodec/wmaenc.c av_assert0(last_exp - 10 >= 0 && last_exp - 10 < 32); av_assert0 198 libavcodec/wmaenc.c av_assert0(0); // FIXME not implemented av_assert0 243 libavcodec/wmaenc.c av_assert0(0); // FIXME not implemented av_assert0 298 libavcodec/wmaenc.c av_assert0(0); // FIXME not implemented av_assert0 304 libavcodec/wmaenc.c av_assert0(0); // FIXME not implemented av_assert0 357 libavcodec/wmaenc.c av_assert0(0); // FIXME not implemented av_assert0 410 libavcodec/wmaenc.c av_assert0((put_bits_count(&s->pb) & 7) == 0); av_assert0 412 libavcodec/wmaenc.c av_assert0(i>=0); av_assert0 417 libavcodec/wmaenc.c av_assert0(put_bits_ptr(&s->pb) - s->pb.buf == avctx->block_align); av_assert0 192 libavcodec/wmalosslessdec.c av_assert0(avctx->channels >= 0); av_assert0 243 libavcodec/wmalosslessdec.c av_assert0(s->samples_per_frame <= WMALL_BLOCK_MAX_SIZE); av_assert0 532 libavcodec/wmaprodec.c av_assert0(v < MAX_BANDS); av_assert0 1288 libavcodec/wmaprodec.c av_assert0(s->subframe_len <= WMAPRO_BLOCK_MAX_SIZE); av_assert0 1303 libavcodec/wmaprodec.c av_assert0(num_vec_coeffs + offset <= FF_ARRAY_ELEMS(s->channel[c].out)); av_assert0 1578 libavcodec/wmaprodec.c av_assert0(len <= put_bits_left(&s->pb)); av_assert0 815 libavcodec/wmavoice.c av_assert0(size <= MAX_FRAMESIZE / 2); av_assert0 1283 libavcodec/wmavoice.c av_assert0(size <= MAX_FRAMESIZE); av_assert0 1319 libavcodec/wmavoice.c av_assert0(size <= MAX_FRAMESIZE / 2); av_assert0 91 libavcodec/wmv2enc.c av_assert0(s->flipflop_rounding); av_assert0 94 libavcodec/wmv2enc.c av_assert0(s->no_rounding == 1); av_assert0 416 libavcodec/x86/mpegvideoenc_template.c av_assert0(s->idsp.perm_type == FF_IDCT_PERM_NONE || av_assert0 48 libavcodec/xface.c av_assert0(b->nb_words < XFACE_MAX_WORDS); av_assert0 104 libavcodec/xface.c av_assert0(b->nb_words < XFACE_MAX_WORDS); av_assert0 123 libavcodec/xface.c av_assert0(b->nb_words < XFACE_MAX_WORDS); av_assert0 190 libavcodec/xfaceenc.c av_assert0(b.nb_words < XFACE_MAX_WORDS); av_assert0 194 libavcodec/xfaceenc.c av_assert0(i < sizeof(intbuf)); av_assert0 340 libavdevice/alsa.c av_assert0(size != 0); av_assert0 66 libavdevice/avdevice.c av_assert0(LIBAVDEVICE_VERSION_MICRO >= 100); av_assert0 147 libavdevice/avdevice.c av_assert0(s && caps); av_assert0 148 libavdevice/avdevice.c av_assert0(s->iformat || s->oformat); av_assert0 176 libavdevice/avdevice.c av_assert0(s->iformat || s->oformat); av_assert0 190 libavdevice/avdevice.c av_assert0(s); av_assert0 191 libavdevice/avdevice.c av_assert0(device_list); av_assert0 192 libavdevice/avdevice.c av_assert0(s->oformat || s->iformat); av_assert0 256 libavdevice/avdevice.c av_assert0(device_list); av_assert0 833 libavdevice/decklink_dec.cpp av_assert0(videoFrame->GetWidth() == 720); av_assert0 1005 libavdevice/opengl_enc.c av_assert0(desc->nb_components > 0 && desc->nb_components <= 4); av_assert0 79 libavdevice/pulse_audio_common.c av_assert0(pa_ml); av_assert0 80 libavdevice/pulse_audio_common.c av_assert0(pa_ctx); av_assert0 100 libavdevice/pulse_audio_common.c av_assert0(pa_ml); av_assert0 101 libavdevice/pulse_audio_common.c av_assert0(pa_ctx); av_assert0 524 libavdevice/v4l2.c av_assert0(atomic_load(&s->buffers_queued) >= 1); av_assert0 815 libavdevice/v4l2.c av_assert0(ret == AVERROR(EINVAL)); av_assert0 114 libavfilter/af_amix.c av_assert0(info); av_assert0 146 libavfilter/af_amix.c av_assert0(frame_list->end); av_assert0 389 libavfilter/af_amix.c av_assert0(s->nb_inputs > 1); av_assert0 498 libavfilter/af_amix.c av_assert0(s->frame_list->nb_frames > 0); av_assert0 119 libavfilter/af_apad.c av_assert0(outsamplesref->sample_rate == outlink->sample_rate); av_assert0 120 libavfilter/af_apad.c av_assert0(outsamplesref->nb_samples == n_out); av_assert0 128 libavfilter/af_aphaser.c av_assert0(channels > 0); \ av_assert0 235 libavfilter/af_aphaser.c default: av_assert0(0); av_assert0 121 libavfilter/af_apulsator.c default: av_assert0(0); av_assert0 212 libavfilter/af_apulsator.c default: av_assert0(0); av_assert0 167 libavfilter/af_aresample.c av_assert0(outlink->sample_rate == out_rate); av_assert0 168 libavfilter/af_aresample.c av_assert0(outlink->channel_layout == out_layout || !outlink->channel_layout); av_assert0 169 libavfilter/af_aresample.c av_assert0(outlink->format == out_format); av_assert0 1259 libavfilter/af_arnndn.c av_assert0(0); av_assert0 1307 libavfilter/af_arnndn.c av_assert0(0); av_assert0 281 libavfilter/af_atempo.c av_assert0(pot <= atempo->window); av_assert0 438 libavfilter/af_atempo.c av_assert0(read_size <= atempo->ring || atempo->tempo > 2.0); av_assert0 487 libavfilter/af_atempo.c av_assert0(atempo->position[0] <= stop_here); av_assert0 535 libavfilter/af_atempo.c av_assert0(zeros != nsamples); av_assert0 553 libavfilter/af_atempo.c av_assert0(nsamples <= zeros + na + nb); av_assert0 791 libavfilter/af_atempo.c av_assert0(start_here <= stop_here && av_assert0 962 libavfilter/af_atempo.c av_assert0(start_here <= stop_here && frag->position[1] <= start_here); av_assert0 298 libavfilter/af_biquads.c av_assert0(0); av_assert0 414 libavfilter/af_biquads.c av_assert0(0); av_assert0 445 libavfilter/af_biquads.c default: av_assert0(0); av_assert0 309 libavfilter/af_compand.c av_assert0(channels > 0); av_assert0 539 libavfilter/af_dynaudnorm.c av_assert0((aggressiveness >= 0.0) && (aggressiveness <= 1.0)); av_assert0 474 libavfilter/af_firequalizer.c av_assert0(res); av_assert0 508 libavfilter/af_firequalizer.c av_assert0(res); av_assert0 709 libavfilter/af_firequalizer.c av_assert0(0); av_assert0 1260 libavfilter/af_hdcd.c av_assert0(samples == samples_end); av_assert0 1277 libavfilter/af_hdcd.c av_assert0(PEAK_EXT_LEVEL + max_asample == 0x8000); av_assert0 1284 libavfilter/af_hdcd.c av_assert0(asample <= max_asample); av_assert0 1329 libavfilter/af_hdcd.c av_assert0(samples == samples_end); av_assert0 1380 libavfilter/af_hdcd.c av_assert0(samples + lead * stride + stride * (count - lead) <= samples_end); av_assert0 1384 libavfilter/af_hdcd.c av_assert0(samples + envelope_run * stride <= samples_end); av_assert0 1396 libavfilter/af_hdcd.c av_assert0(samples + lead * stride <= samples_end); av_assert0 1424 libavfilter/af_hdcd.c av_assert0(samples + lead * stride + stride * (count - lead) <= samples_end); av_assert0 1428 libavfilter/af_hdcd.c av_assert0(samples + envelope_run * stride <= samples_end); av_assert0 1451 libavfilter/af_hdcd.c av_assert0(samples + lead * stride <= samples_end); av_assert0 148 libavfilter/af_ladspa.c av_assert0(in->channels == (s->nb_inputs * s->nb_handles)); av_assert0 163 libavfilter/af_ladspa.c av_assert0(!s->nb_outputs || out->channels == (s->nb_outputs * s->nb_handles)); av_assert0 353 libavfilter/af_replaygain.c av_assert0(i < FF_ARRAY_ELEMS(freqinfos)); av_assert0 253 libavfilter/af_resample.c av_assert0(!avresample_available(s->avr)); av_assert0 118 libavfilter/af_volumedetect.c av_assert0(power <= 0x8000 * 0x8000); av_assert0 122 libavfilter/asrc_sinc.c av_assert0(Fc >= 0 && Fc <= 1); av_assert0 215 libavfilter/asrc_sinc.c av_assert0(x >= 0); av_assert0 43 libavfilter/audio.c av_assert0(channels == av_get_channel_layout_nb_channels(link->channel_layout) || !av_get_channel_layout_nb_channels(link->channel_layout)); av_assert0 299 libavfilter/avf_ahistogram.c av_assert0(0); av_assert0 313 libavfilter/avf_showfreqs.c av_assert0(0); av_assert0 319 libavfilter/avf_showspatial.c av_assert0(fin->nb_samples == s->win_size); av_assert0 543 libavfilter/avf_showspectrum.c av_assert0(0); av_assert0 553 libavfilter/avf_showspectrum.c av_assert0(0); av_assert0 897 libavfilter/avf_showspectrum.c av_assert0(0); av_assert0 921 libavfilter/avf_showspectrum.c av_assert0(0); av_assert0 1452 libavfilter/avf_showspectrum.c av_assert0(fin->nb_samples == s->win_size); av_assert0 604 libavfilter/avf_showwaves.c av_assert0(col < outlink->w); av_assert0 79 libavfilter/avfilter.c av_assert0(LIBAVFILTER_VERSION_MICRO >= 100); av_assert0 140 libavfilter/avfilter.c av_assert0(src->graph); av_assert0 141 libavfilter/avfilter.c av_assert0(dst->graph); av_assert0 142 libavfilter/avfilter.c av_assert0(src->graph == dst->graph); av_assert0 167 libavfilter/avfilter.c av_assert0(AV_PIX_FMT_NONE == -1 && AV_SAMPLE_FMT_NONE == -1); av_assert0 215 libavfilter/avfilter.c av_assert0(!link->status_in); av_assert0 226 libavfilter/avfilter.c av_assert0(!link->frame_wanted_out); av_assert0 227 libavfilter/avfilter.c av_assert0(!link->status_out); av_assert0 361 libavfilter/avfilter.c av_assert0(!link->hw_frames_ctx && av_assert0 1230 libavfilter/avfilter.c av_assert0(!in->status_out); av_assert0 1561 libavfilter/avfilter.c av_assert0(!"reached"); av_assert0 1641 libavfilter/avfilter.c av_assert0(link->hw_frames_ctx); av_assert0 576 libavfilter/avfiltergraph.c av_assert0( inlink-> in_formats->refcount > 0); av_assert0 577 libavfilter/avfiltergraph.c av_assert0( inlink->out_formats->refcount > 0); av_assert0 578 libavfilter/avfiltergraph.c av_assert0(outlink-> in_formats->refcount > 0); av_assert0 579 libavfilter/avfiltergraph.c av_assert0(outlink->out_formats->refcount > 0); av_assert0 581 libavfilter/avfiltergraph.c av_assert0( inlink-> in_samplerates->refcount > 0); av_assert0 582 libavfilter/avfiltergraph.c av_assert0( inlink->out_samplerates->refcount > 0); av_assert0 583 libavfilter/avfiltergraph.c av_assert0(outlink-> in_samplerates->refcount > 0); av_assert0 584 libavfilter/avfiltergraph.c av_assert0(outlink->out_samplerates->refcount > 0); av_assert0 585 libavfilter/avfiltergraph.c av_assert0( inlink-> in_channel_layouts->refcount > 0); av_assert0 586 libavfilter/avfiltergraph.c av_assert0( inlink->out_channel_layouts->refcount > 0); av_assert0 587 libavfilter/avfiltergraph.c av_assert0(outlink-> in_channel_layouts->refcount > 0); av_assert0 588 libavfilter/avfiltergraph.c av_assert0(outlink->out_channel_layouts->refcount > 0); av_assert0 886 libavfilter/avfiltergraph.c av_assert0(diff < INT_MAX); // This would lead to the use of uninitialized best_diff but is only possible with invalid sample rates av_assert0 1022 libavfilter/avfiltergraph.c av_assert0(best_idx >= 0); av_assert0 1091 libavfilter/avfiltergraph.c av_assert0(best_idx >= 0); av_assert0 1225 libavfilter/avfiltergraph.c av_assert0(n == sink_links_count); av_assert0 1355 libavfilter/avfiltergraph.c av_assert0(index >= 0); av_assert0 1374 libavfilter/avfiltergraph.c av_assert0(index >= 0); av_assert0 1449 libavfilter/avfiltergraph.c av_assert0(graph->nb_filters); av_assert0 101 libavfilter/bufferqueue.h av_assert0(queue->available); av_assert0 185 libavfilter/buffersink.c av_assert0(ctx->filter->activate == activate); \ av_assert0 41 libavfilter/dnn/dnn_backend_native.c av_assert0(oprd->dims[0] == 1); av_assert0 123 libavfilter/dnn/dnn_backend_native_layer_conv2d.c av_assert0(channel == conv_params->input_num); av_assert0 59 libavfilter/dnn/dnn_backend_native_layer_pad.c av_assert0(!"should not reach here"); av_assert0 73 libavfilter/dnn/dnn_backend_native_layer_pad.c av_assert0(!"should not reach here"); av_assert0 101 libavfilter/dnn/dnn_backend_tf.c av_assert0(!"should not reach here"); av_assert0 131 libavfilter/dnn/dnn_backend_tf.c av_assert0(dims[0] == 1); av_assert0 616 libavfilter/dnn/dnn_backend_tf.c av_assert0(tf_model->output_tensors); av_assert0 89 libavfilter/drawutils.c av_assert0(pix_desc); av_assert0 330 libavfilter/f_ebur128.c av_assert0(ebur128->graph.h == ebur128->gauge.h); av_assert0 166 libavfilter/f_interleave.c av_assert0(0); av_assert0 244 libavfilter/f_metadata.c av_assert0(0); av_assert0 356 libavfilter/f_metadata.c av_assert0(0); av_assert0 144 libavfilter/f_sidedata.c av_assert0(0); av_assert0 113 libavfilter/fifo.c av_assert0(frame->nb_samples > offset); av_assert0 394 libavfilter/formats.c av_assert0(formats->nb_formats == nb_formats); av_assert0 166 libavfilter/framepool.c av_assert0(pool->type == AVMEDIA_TYPE_VIDEO); av_assert0 185 libavfilter/framepool.c av_assert0(pool->type == AVMEDIA_TYPE_AUDIO); av_assert0 234 libavfilter/framepool.c av_assert0(frame->data[1] != NULL); av_assert0 257 libavfilter/framepool.c av_assert0(frame->nb_extended_buf == 0); av_assert0 275 libavfilter/framepool.c av_assert0(0); av_assert0 40 libavfilter/framequeue.c av_assert0(fq->queued == fq->total_frames_head - fq->total_frames_tail); av_assert0 43 libavfilter/framequeue.c av_assert0(nb_samples == fq->total_samples_head - fq->total_samples_tail); av_assert0 82 libavfilter/framesync.c av_assert0(parent->nb_outputs == 1); av_assert0 108 libavfilter/framesync.c av_assert0(level <= fs->sync_level); av_assert0 225 libavfilter/framesync.c av_assert0(!fs->in[in].have_next); av_assert0 226 libavfilter/framesync.c av_assert0(frame); av_assert0 236 libavfilter/framesync.c av_assert0(!fs->in[in].have_next); av_assert0 312 libavfilter/framesync.c av_assert0(frame); av_assert0 380 libavfilter/framesync.c av_assert0(mainpic); av_assert0 49 libavfilter/generate_wave_table.c av_assert0(0); av_assert0 79 libavfilter/generate_wave_table.c av_assert0(0); av_assert0 239 libavfilter/glslang.cpp av_assert0(glslang_refcount > 0); av_assert0 128 libavfilter/median_template.c av_assert0(k < BINS); av_assert0 155 libavfilter/median_template.c av_assert0(b < BINS); av_assert0 146 libavfilter/phase_template.c av_assert0(0); av_assert0 114 libavfilter/vaapi_vpp.c av_assert0(ctx->input_frames); av_assert0 123 libavfilter/vaapi_vpp.c av_assert0(ctx->va_config == VA_INVALID_ID); av_assert0 205 libavfilter/vaapi_vpp.c av_assert0(ctx->va_context == VA_INVALID_ID); av_assert0 412 libavfilter/vaapi_vpp.c av_assert0(frame->format == AV_PIX_FMT_VAAPI && av_assert0 416 libavfilter/vaapi_vpp.c av_assert0(desc); av_assert0 573 libavfilter/vaapi_vpp.c av_assert0(ctx->nb_filter_buffers + 1 <= VAProcFilterCount); av_assert0 261 libavfilter/vaf_spectrumsynth.c av_assert0(0); av_assert0 286 libavfilter/vaf_spectrumsynth.c av_assert0(0); av_assert0 465 libavfilter/vaf_spectrumsynth.c av_assert0(0); av_assert0 117 libavfilter/vf_addroi.c av_assert0(old_roi_size && sd->size % old_roi_size == 0); av_assert0 966 libavfilter/vf_ciescope.c av_assert0(0); av_assert0 1144 libavfilter/vf_ciescope.c av_assert0(0); av_assert0 1204 libavfilter/vf_ciescope.c av_assert0(0); av_assert0 1346 libavfilter/vf_ciescope.c av_assert0(0); av_assert0 1481 libavfilter/vf_ciescope.c av_assert0(0); av_assert0 300 libavfilter/vf_curves.c av_assert0(point->next); // always at least 2 key points av_assert0 314 libavfilter/vf_curves.c av_assert0(x_start >= 0 && x_start < lut_size && av_assert0 419 libavfilter/vf_curves.c av_assert0(FF_ARRAY_ELEMS(colors) == NB_COMP + 1); av_assert0 553 libavfilter/vf_dctdnoiz.c av_assert0(0); av_assert0 638 libavfilter/vf_dctdnoiz.c default: av_assert0(0); av_assert0 644 libavfilter/vf_dctdnoiz.c default: av_assert0(0); av_assert0 1167 libavfilter/vf_deshake_opencl.c av_assert0(hw_frames_ctx); av_assert0 1168 libavfilter/vf_deshake_opencl.c av_assert0(desc); av_assert0 263 libavfilter/vf_dnn_processing.c av_assert0(input_dt == DNN_FLOAT); av_assert0 264 libavfilter/vf_dnn_processing.c av_assert0(output_dt == DNN_FLOAT); av_assert0 334 libavfilter/vf_dnn_processing.c av_assert0(dnn_input->dt == DNN_UINT8); av_assert0 376 libavfilter/vf_dnn_processing.c av_assert0(dnn_output->dt == DNN_UINT8); av_assert0 385 libavfilter/vf_dnn_processing.c av_assert0(dnn_output->dt == DNN_UINT8); av_assert0 391 libavfilter/vf_dnn_processing.c av_assert0(dnn_output->dt == DNN_FLOAT); av_assert0 415 libavfilter/vf_dnn_processing.c av_assert0(desc); av_assert0 425 libavfilter/vf_dnn_processing.c av_assert0(in->height == out->height && in->width == out->width); av_assert0 114 libavfilter/vf_edgedetect.c av_assert0(0); av_assert0 248 libavfilter/vf_fade.c else av_assert0(0); av_assert0 188 libavfilter/vf_fieldhint.c av_assert0(0); av_assert0 643 libavfilter/vf_fieldmatch.c default: av_assert0(0); av_assert0 699 libavfilter/vf_fieldmatch.c av_assert0(prv && src && nxt); \ av_assert0 702 libavfilter/vf_fieldmatch.c av_assert0(fm->got_frame[INPUT_MAIN] == 0); av_assert0 706 libavfilter/vf_fieldmatch.c av_assert0(fm->got_frame[INPUT_CLEANSRC] == 0); av_assert0 718 libavfilter/vf_fieldmatch.c av_assert0(order == 0 || order == 1 || field == 0 || field == 1); av_assert0 791 libavfilter/vf_fieldmatch.c av_assert0(0); av_assert0 608 libavfilter/vf_fspp.c av_assert0(w * h <= fspp->non_b_qp_alloc_size); av_assert0 354 libavfilter/vf_geq.c av_assert0(desc); av_assert0 441 libavfilter/vf_hqx.c av_assert0(0); av_assert0 782 libavfilter/vf_lut3d.c av_assert0(x >= data[low]); av_assert0 783 libavfilter/vf_lut3d.c av_assert0(x <= data[hi]); av_assert0 784 libavfilter/vf_lut3d.c av_assert0((hi-low) > 0); av_assert0 982 libavfilter/vf_lut3d.c av_assert0(idx + 1 < prelut_sizes[c]); av_assert0 1092 libavfilter/vf_lut3d.c av_assert0(0); av_assert0 1389 libavfilter/vf_lut3d.c av_assert0(desc); av_assert0 1412 libavfilter/vf_lut3d.c av_assert0(w == h && w == size); av_assert0 2028 libavfilter/vf_lut3d.c av_assert0(0); av_assert0 89 libavfilter/vf_mergeplanes.c av_assert0(s->nb_inputs && s->nb_inputs <= 4); av_assert0 345 libavfilter/vf_nlmeans_opencl.c av_assert0(src); av_assert0 255 libavfilter/vf_overlay.c av_assert0(0); av_assert0 870 libavfilter/vf_overlay.c av_assert0(0); av_assert0 916 libavfilter/vf_overlay.c av_assert0(0); av_assert0 220 libavfilter/vf_palettegen.c av_assert0(box->len >= 1); av_assert0 221 libavfilter/vf_palettegen.c av_assert0(new_box->len >= 1); av_assert0 255 libavfilter/vf_palettegen.c av_assert0(s->nb_boxes < 256); av_assert0 208 libavfilter/vf_perspective.c av_assert0(0); av_assert0 147 libavfilter/vf_phase.c default: av_assert0(0); av_assert0 112 libavfilter/vf_pp.c default: av_assert0(0); av_assert0 127 libavfilter/vf_program_opencl.c av_assert0(ctx->frames[input]); av_assert0 130 libavfilter/vf_program_opencl.c av_assert0(src); av_assert0 205 libavfilter/vf_program_opencl.c av_assert0(ctx->nb_inputs > 0); av_assert0 180 libavfilter/vf_selectivecolor.c av_assert0(0); av_assert0 254 libavfilter/vf_selectivecolor.c av_assert0(FF_ARRAY_ELEMS(s->cmyk_adjust) == 10 - 1); av_assert0 255 libavfilter/vf_selectivecolor.c av_assert0(FF_ARRAY_ELEMS(s->cmyk_adjust[0]) == 4); av_assert0 577 libavfilter/vf_signature.c av_assert0(av_get_frame_filename(filename, sizeof(filename), sic->filename, input) == 0); av_assert0 398 libavfilter/vf_spp.c av_assert0(w * h <= s->non_b_qp_alloc_size); av_assert0 1064 libavfilter/vf_stereo3d.c av_assert0(0); av_assert0 1085 libavfilter/vf_stereo3d.c av_assert0(out); av_assert0 515 libavfilter/vf_tinterlace.c av_assert0(0); av_assert0 166 libavfilter/vf_tonemap_opencl.c av_assert0(ctx->trc_out == AVCOL_TRC_BT709 || av_assert0 168 libavfilter/vf_tonemap_opencl.c av_assert0(ctx->trc_in == AVCOL_TRC_SMPTE2084|| av_assert0 170 libavfilter/vf_tonemap_opencl.c av_assert0(ctx->colorspace_in == AVCOL_SPC_BT2020_NCL || av_assert0 172 libavfilter/vf_tonemap_opencl.c av_assert0(ctx->primaries_in == AVCOL_PRI_BT2020 || av_assert0 206 libavfilter/vf_transpose.c av_assert0(desc_in->nb_components == desc_out->nb_components); av_assert0 368 libavfilter/vf_uspp.c av_assert0(avctx_enc->codec); av_assert0 419 libavfilter/vf_uspp.c av_assert0(w * h <= uspp->non_b_qp_alloc_size); av_assert0 924 libavfilter/vf_v360.c av_assert0(0); av_assert0 950 libavfilter/vf_v360.c av_assert0(0); av_assert0 1024 libavfilter/vf_v360.c av_assert0(0); av_assert0 1100 libavfilter/vf_v360.c av_assert0(0); av_assert0 1184 libavfilter/vf_v360.c av_assert0(0); av_assert0 1220 libavfilter/vf_v360.c av_assert0(0); av_assert0 1256 libavfilter/vf_v360.c av_assert0(0); av_assert0 1292 libavfilter/vf_v360.c av_assert0(0); av_assert0 2432 libavfilter/vf_v360.c av_assert0(0); av_assert0 3828 libavfilter/vf_v360.c av_assert0(0); av_assert0 3878 libavfilter/vf_v360.c av_assert0(0); av_assert0 4210 libavfilter/vf_v360.c av_assert0(0); av_assert0 557 libavfilter/vf_vectorscope.c av_assert0(0); av_assert0 753 libavfilter/vf_vectorscope.c av_assert0(0); av_assert0 260 libavfilter/vf_yadif_cuda.c av_assert0(s->input_frames); av_assert0 298 libavfilter/vsrc_testsrc.c av_assert0(w == h && w == level*level*level); av_assert0 711 libavfilter/vsrc_testsrc.c av_assert0(0); av_assert0 922 libavfilter/vsrc_testsrc.c av_assert0(ff_draw_init(&s->draw, inlink->format, 0) >= 0); av_assert0 1325 libavfilter/vsrc_testsrc.c av_assert0(x + w <= test->w); av_assert0 1326 libavfilter/vsrc_testsrc.c av_assert0(y + h <= test->h); av_assert0 195 libavfilter/window_func.h av_assert0(0); av_assert0 97 libavfilter/yadif_common.c av_assert0(frame); av_assert0 70 libavformat/ac3dec.c av_assert0(frame_size <= sizeof(buf3)); av_assert0 68 libavformat/apngenc.c av_assert0(crc_table); av_assert0 124 libavformat/apngenc.c av_assert0(apng->prev_packet); av_assert0 103 libavformat/argo_asf.c av_assert0(AVPROBE_PADDING_SIZE >= ASF_FILE_HEADER_SIZE); av_assert0 324 libavformat/asfdec_f.c av_assert0((unsigned)len < (INT_MAX - LEN) / 2); av_assert0 1268 libavformat/asfdec_f.c av_assert0(asf_st); av_assert0 839 libavformat/asfenc.c av_assert0(padsize >= 0); av_assert0 878 libavformat/asfenc.c av_assert0(asf->packet_timestamp_end >= asf->packet_timestamp_start); av_assert0 890 libavformat/asfenc.c av_assert0(packet_hdr_size <= asf->packet_size_left); av_assert0 1069 libavformat/asfenc.c av_assert0(pts != AV_NOPTS_VALUE); av_assert0 127 libavformat/au.c av_assert0(0); av_assert0 180 libavformat/au.c av_assert0(id >= 23 && id < 23 + 4); av_assert0 634 libavformat/avidec.c av_assert0(stream_index < s->nb_streams); av_assert0 1388 libavformat/avidec.c av_assert0(best_ast->remaining <= best_ast->packet_size); av_assert0 1803 libavformat/avidec.c av_assert0(stream_index >= 0); av_assert0 209 libavformat/avienc.c av_assert0(avist->frames_hdr_strm); av_assert0 221 libavformat/avienc.c av_assert0(avi->frames_hdr_all); av_assert0 634 libavformat/avienc.c av_assert0(pb->seekable & AVIO_SEEKABLE_NORMAL); av_assert0 648 libavformat/avienc.c av_assert0(avi->riff_id - avist->indexes.master_odml_riff_id_base < avi->master_index_max_size); av_assert0 804 libavformat/avienc.c av_assert0(par->bits_per_coded_sample >= 0 && par->bits_per_coded_sample <= 8); av_assert0 177 libavformat/avio.c av_assert0(!(e=av_dict_get(*options, "protocol_whitelist", NULL, 0)) || av_assert0 179 libavformat/avio.c av_assert0(!(e=av_dict_get(*options, "protocol_blacklist", NULL, 0)) || av_assert0 229 libavformat/avio.c av_assert0(!*c); av_assert0 329 libavformat/avio.c av_assert0(!whitelist || av_assert0 332 libavformat/avio.c av_assert0(!blacklist || av_assert0 541 libavformat/avio.c av_assert0(s); av_assert0 591 libavformat/avio.c av_assert0(s); av_assert0 994 libavformat/aviobuf.c av_assert0(!s->write_flag); av_assert0 175 libavformat/cache.c av_assert0(entry->logical_pos <= c->logical_pos); av_assert0 212 libavformat/cache.c av_assert0(c->end >= c->logical_pos); av_assert0 273 libavformat/cache.c av_assert0(c->is_true_eof); av_assert0 233 libavformat/dashenc.c av_assert0(http_url_context); av_assert0 254 libavformat/dashenc.c av_assert0(http_url_context); av_assert0 2183 libavformat/dashenc.c av_assert0(os->parser); av_assert0 155 libavformat/dv.c av_assert0(ipcm<4); av_assert0 165 libavformat/dv.c av_assert0(ipcm<4); av_assert0 83 libavformat/dvenc.c av_assert0(sample_rate == 48000); av_assert0 220 libavformat/fifo.c av_assert0(ret >= 0); av_assert0 228 libavformat/fifo.c av_assert0(0); av_assert0 140 libavformat/flvdec.c av_assert0(flv->last_keyframe_stream_index <= s->nb_streams); av_assert0 412 libavformat/flvdec.c av_assert0(!flv->keyframe_times); av_assert0 413 libavformat/flvdec.c av_assert0(!flv->keyframe_filepositions); av_assert0 952 libavformat/flvenc.c av_assert0(size); av_assert0 155 libavformat/fsb.c av_assert0(0); av_assert0 43 libavformat/g722.c av_assert0(st->codecpar->bits_per_coded_sample > 0); av_assert0 213 libavformat/gxfenc.c av_assert0(size < sizeof(buffer)); av_assert0 617 libavformat/hls.c av_assert0(uc); av_assert0 1096 libavformat/hls.c av_assert0(!pls->id3_deferred_extra); av_assert0 269 libavformat/hlsenc.c av_assert0(http_url_context); av_assert0 291 libavformat/hlsenc.c av_assert0(http_url_context); av_assert0 484 libavformat/http.c av_assert0(error < 0); av_assert0 604 libavformat/http.c av_assert0(sc->listen); av_assert0 1449 libavformat/http.c av_assert0(s->chunksize >= len); av_assert0 778 libavformat/iff.c av_assert0(st->codecpar->extradata_size >= IFF_EXTRA_VIDEO_SIZE); av_assert0 880 libavformat/iff.c av_assert0(0); av_assert0 133 libavformat/latmenc.c av_assert0(ret >= 0); // extradata size has been checked already, so this should not fail av_assert0 3688 libavformat/matroskadec.c av_assert0(matroska->num_levels <= 2); av_assert0 195 libavformat/matroskaenc.c av_assert0(bytes <= 8); av_assert0 244 libavformat/matroskaenc.c av_assert0(length < (1ULL << 56) - 1); av_assert0 250 libavformat/matroskaenc.c av_assert0(bytes >= needed_bytes); av_assert0 320 libavformat/matroskaenc.c av_assert0(size >= 2); av_assert0 579 libavformat/matroskaenc.c av_assert0(idx >= 0 && idx < num_tracks); av_assert0 967 libavformat/matroskaenc.c av_assert0(0); av_assert0 1750 libavformat/matroskaenc.c av_assert0(mimetype); av_assert0 1240 libavformat/mov.c av_assert0(frag_stream_info); av_assert0 2481 libavformat/mov.c av_assert0 (c->fc->nb_streams >= 1); av_assert0 2693 libavformat/mov.c av_assert0(sc->stsc_data[i+1].first >= 2); av_assert0 2723 libavformat/mov.c av_assert0(sc->stsc_data[index].first <= sc->chunk_count); av_assert0 3204 libavformat/mov.c av_assert0(index); av_assert0 3231 libavformat/mov.c av_assert0(ctts_index); av_assert0 3232 libavformat/mov.c av_assert0(ctts_sample); av_assert0 3327 libavformat/mov.c av_assert0(end_index >= 0 && end_index <= st->nb_index_entries); av_assert0 4803 libavformat/mov.c av_assert0(index_entry_pos <= st->nb_index_entries); av_assert0 8067 libavformat/mov.c av_assert0(next == (int)next); av_assert0 1025 libavformat/movenc.c av_assert0(next_dts >= 0); av_assert0 1026 libavformat/movenc.c av_assert0(next_dts <= INT_MAX); av_assert0 1888 libavformat/movenc.c av_assert0(track->mode == MODE_MOV); av_assert0 1925 libavformat/movenc.c av_assert0(track->mode == MODE_MOV || track->mode == MODE_MP4); av_assert0 2472 libavformat/movenc.c av_assert0(track->par->codec_id == AV_CODEC_ID_OPUS || track->par->codec_id == AV_CODEC_ID_AAC); av_assert0 3119 libavformat/movenc.c av_assert0(av_rescale_rnd(start_dts, MOV_TIMESCALE, track->timescale, AV_ROUND_DOWN) <= 0); av_assert0 200 libavformat/mp3enc.c av_assert0(best_bitrate_idx >= 0); av_assert0 209 libavformat/mp3enc.c av_assert0(ret >= 0); av_assert0 929 libavformat/mpeg.c av_assert0(tmpq->nb_subs); av_assert0 915 libavformat/mpegenc.c av_assert0(payload_size - stuffing_size <= av_fifo_size(stream->fifo)); av_assert0 1026 libavformat/mpegenc.c av_assert0(avail_data > 0); av_assert0 1079 libavformat/mpegenc.c av_assert0(best_i >= 0); av_assert0 1084 libavformat/mpegenc.c av_assert0(av_fifo_size(stream->fifo) > 0); av_assert0 1086 libavformat/mpegenc.c av_assert0(avail_space >= s->packet_size || ignore_constraints); av_assert0 1104 libavformat/mpegenc.c av_assert0(av_fifo_size(stream->fifo) == trailer_size); av_assert0 1132 libavformat/mpegenc.c av_assert0(stream->premux_packet); av_assert0 1251 libavformat/mpegenc.c av_assert0(av_fifo_size(stream->fifo) == 0); av_assert0 1863 libavformat/mpegts.c av_assert0(language_count <= sizeof(language) / 4); av_assert0 1914 libavformat/mpegts.c av_assert0(language_count <= sizeof(language) / 4); av_assert0 2774 libavformat/mpegts.c av_assert0(pos >= TS_PACKET_SIZE); av_assert0 1228 libavformat/mpegtsenc.c av_assert0(flag); av_assert0 1244 libavformat/mpegtsenc.c av_assert0(pkt[3] & 0x20); av_assert0 1275 libavformat/mpegtsenc.c av_assert0(ts_st->payload != buf || st->codecpar->codec_type != AVMEDIA_TYPE_VIDEO); av_assert0 1722 libavformat/mpegtsenc.c av_assert0(pkt->dts != AV_NOPTS_VALUE); av_assert0 1822 libavformat/mpegtsenc.c av_assert0(2 + pkt->size / 255 + 1 == i); av_assert0 1858 libavformat/mpegtsenc.c av_assert0(!ts_st->payload_size); av_assert0 153 libavformat/musx.c av_assert0(0); av_assert0 728 libavformat/mux.c av_assert0(pkt->size == sizeof(*frame)); av_assert0 1337 libavformat/mux.c av_assert0(s->oformat); av_assert0 1390 libavformat/mux.c av_assert0(s->oformat); av_assert0 454 libavformat/network.c av_assert0(nb_attempts > 0); av_assert0 305 libavformat/nutdec.c av_assert0(nut->frame_code['N'].flags == FLAG_INVALID); av_assert0 330 libavformat/nutdec.c av_assert0(nut->header_len[0] == 0); av_assert0 749 libavformat/nutdec.c av_assert0(n <= syncpoint_count + 1); av_assert0 850 libavformat/nutdec.c av_assert0(nut->next_startcode == SYNCPOINT_STARTCODE); av_assert0 1214 libavformat/nutdec.c av_assert0(nut->last_syncpoint_pos == *pos_arg); av_assert0 1219 libavformat/nutdec.c av_assert0(stream_index == -1); av_assert0 1277 libavformat/nutdec.c av_assert0(sp); av_assert0 630 libavformat/nutenc.c av_assert0(nus->keyframe_pts[k] > last_pts); av_assert0 768 libavformat/nutenc.c av_assert0(nut->frame_code['N'].flags == FLAG_INVALID); av_assert0 1058 libavformat/nutenc.c av_assert0(nus->last_pts != AV_NOPTS_VALUE); av_assert0 1122 libavformat/nutenc.c av_assert0(frame_code != -1); av_assert0 943 libavformat/oggdec.c av_assert0(stream_index < ogg->nstreams); av_assert0 92 libavformat/pcmdec.c av_assert0(st->codecpar->bits_per_coded_sample > 0); av_assert0 35 libavformat/riffdec.c av_assert0(sizeof(*g) == 16); //compiler will optimize this out av_assert0 42 libavformat/riffenc.c av_assert0((start&1) == 0); av_assert0 351 libavformat/riffenc.c av_assert0(sizeof(*g) == 16); av_assert0 971 libavformat/rmdec.c av_assert0 (rm->audio_pkt_cnt > 0); av_assert0 504 libavformat/rtmppkt.c av_assert0(bytestream2_tell(&gb) >= 0 && bytestream2_tell(&gb) <= data_end - data); av_assert0 90 libavformat/rtpdec_hevc.c av_assert0(0); av_assert0 194 libavformat/rtpdec_qdm2.c av_assert0(qdm->cache > 0); av_assert0 198 libavformat/rtpdec_qdm2.c av_assert0(n < 0x80); av_assert0 1908 libavformat/rtsp.c av_assert0(0); av_assert0 350 libavformat/segment.c av_assert0(!"Invalid list type"); av_assert0 796 libavformat/segment.c av_assert0(s->nb_streams == oc->nb_streams); av_assert0 425 libavformat/swfdec.c av_assert0(0); av_assert0 60 libavformat/swfenc.c av_assert0(tag_len < 0x3f); av_assert0 221 libavformat/tcp.c av_assert0(sc->listen); av_assert0 562 libavformat/udp.c av_assert0(len >= 0); av_assert0 563 libavformat/udp.c av_assert0(len <= sizeof(s->tmp)); av_assert0 592 libavformat/udp.c av_assert0(len > 0); av_assert0 116 libavformat/uncodedframecrcenc.c av_assert0(!"reached"); av_assert0 63 libavformat/utils.c av_assert0(LIBAVFORMAT_VERSION_MICRO >= 100); av_assert0 161 libavformat/utils.c av_assert0(!dst->codec_whitelist && av_assert0 867 libavformat/utils.c av_assert0(st->request_probe <= 0); av_assert0 890 libavformat/utils.c av_assert0(pkt->stream_index < (unsigned)s->nb_streams && av_assert0 976 libavformat/utils.c av_assert0(st->internal->avctx->ticks_per_frame); av_assert0 983 libavformat/utils.c av_assert0(s->iformat); // this may be wrong for interlaced encoding but its not used for that case av_assert0 1558 libavformat/utils.c av_assert0(*pkt_buffer); av_assert0 2022 libavformat/utils.c av_assert0(index == 0 || ie[-1].timestamp < timestamp); av_assert0 2105 libavformat/utils.c av_assert0(time_tolerance >= 0); av_assert0 2218 libavformat/utils.c av_assert0(index < st->nb_index_entries); av_assert0 2268 libavformat/utils.c av_assert0(tmp_pos > pos_max); av_assert0 2320 libavformat/utils.c av_assert0(ts_min < ts_max); av_assert0 2327 libavformat/utils.c av_assert0(pos_limit <= pos_max); av_assert0 2430 libavformat/utils.c av_assert0(st->index_entries); av_assert0 3584 libavformat/utils.c av_assert0(!sti->avctx->extradata); av_assert0 4442 libavformat/utils.c av_assert0(s->nb_streams>0); av_assert0 4443 libavformat/utils.c av_assert0(s->streams[ s->nb_streams - 1 ] == st); av_assert0 5186 libavformat/utils.c default: av_assert0(0); av_assert0 5575 libavformat/utils.c av_assert0(!st->internal->bsfc); av_assert0 5847 libavformat/utils.c av_assert0(url); av_assert0 409 libavformat/vapoursynth.c av_assert0(vs->vsapi->getFrameWidth(vsframe, 0) == frame->width); av_assert0 410 libavformat/vapoursynth.c av_assert0(vs->vsapi->getFrameHeight(vsframe, 0) == frame->height); av_assert0 235 libavformat/wavdec.c av_assert0(length < sizeof(temp)); av_assert0 149 libavformat/wtvenc.c av_assert0(wctx->nb_index < MAX_NB_INDEX); av_assert0 733 libavformat/wtvenc.c av_assert0(index < WTV_FILES); av_assert0 397 libavformat/xmv.c av_assert0(xmv->video.stream_index < s->nb_streams); av_assert0 51 libavutil/avassert.h #define av_assert1(cond) av_assert0(cond) av_assert0 61 libavutil/avassert.h #define av_assert2(cond) av_assert0(cond) av_assert0 418 libavutil/avstring.c av_assert0(tail_len <= 5); av_assert0 313 libavutil/buffer.c av_assert0(pool->alloc || pool->alloc2); av_assert0 365 libavutil/buffer.c av_assert0(buf); av_assert0 326 libavutil/crc.c av_assert0(av_crc_init(av_crc_table[id], le, bits, poly, sizeof(av_crc_table[id])) >= 0); \ av_assert0 386 libavutil/crc.c default: av_assert0(0); av_assert0 123 libavutil/hwcontext_drm.c av_assert0(desc->nb_objects <= AV_DRM_MAX_PLANES); av_assert0 150 libavutil/hwcontext_drm.c av_assert0(plane <= AV_DRM_MAX_PLANES); av_assert0 219 libavutil/hwcontext_opencl.c av_assert0(strlen(str) + 1 == size); av_assert0 240 libavutil/hwcontext_opencl.c av_assert0(strlen(str) + 1== size); av_assert0 503 libavutil/hwcontext_opencl.c av_assert0(selector->enumerate_platforms && av_assert0 1962 libavutil/hwcontext_opencl.c av_assert0(hwfc->sw_format == dst->format); av_assert0 2804 libavutil/hwcontext_opencl.c av_assert0(src->format == AV_PIX_FMT_OPENCL); av_assert0 2814 libavutil/hwcontext_opencl.c av_assert0(dst->format == AV_PIX_FMT_OPENCL); av_assert0 275 libavutil/hwcontext_vaapi.c av_assert0(j == pix_fmt_count); av_assert0 480 libavutil/hwcontext_vaapi.c av_assert0(avfc->nb_surfaces < hwfc->initial_pool_size); av_assert0 546 libavutil/hwcontext_vaapi.c av_assert0(i == ctx->nb_attributes); av_assert0 690 libavutil/hwcontext_vaapi.c av_assert0(k < ctx->nb_formats); av_assert0 1061 libavutil/hwcontext_vaapi.c av_assert0(format_desc); av_assert0 314 libavutil/imgutils.c av_assert0(FFABS(src_linesize) >= bytewidth); av_assert0 315 libavutil/imgutils.c av_assert0(FFABS(dst_linesize) >= bytewidth); av_assert0 473 libavutil/imgutils.c av_assert0(ret >= 0); // was checked previously av_assert0 89 libavutil/lzo.c av_assert0(cnt >= 0); av_assert0 121 libavutil/lzo.c av_assert0(cnt > 0); av_assert0 171 libavutil/mathematics.c av_assert0(in_ts != AV_NOPTS_VALUE); av_assert0 172 libavutil/mathematics.c av_assert0(duration >= 0); av_assert0 33 libavutil/mem_internal.h av_assert0(val || !min_size); av_assert0 748 libavutil/opt.c av_assert0(size >= 25); av_assert0 2617 libavutil/pixdesc.c av_assert0(d->log2_chroma_w <= 3); av_assert0 2618 libavutil/pixdesc.c av_assert0(d->log2_chroma_h <= 3); av_assert0 2619 libavutil/pixdesc.c av_assert0(d->nb_components <= 4); av_assert0 2620 libavutil/pixdesc.c av_assert0(d->name && d->name[0]); av_assert0 2626 libavutil/pixdesc.c av_assert0(!c->plane && !c->step && !c->offset && !c->shift && !c->depth); av_assert0 2630 libavutil/pixdesc.c av_assert0(c->step >= c->depth); av_assert0 2632 libavutil/pixdesc.c av_assert0(8*c->step >= c->depth); av_assert0 2637 libavutil/pixdesc.c av_assert0(tmp[0] == 0 && tmp[1] == 0); av_assert0 97 libavutil/ppc/cpu.c av_assert0(ret & AV_CPU_FLAG_ALTIVEC); av_assert0 77 libavutil/random_seed.c av_assert0(sizeof(tmp) >= av_sha_size); av_assert0 102 libavutil/slicethread.c av_assert0(nb_threads >= 0); av_assert0 168 libavutil/slicethread.c av_assert0(nb_jobs > 0); av_assert0 247 libavutil/slicethread.c av_assert0(0); av_assert0 252 libavutil/slicethread.c av_assert0(!pctx || !*pctx); av_assert0 30 libavutil/tests/bprint.c av_assert0(size < FF_ARRAY_ELEMS(p)); av_assert0 80 libavutil/tests/encryption_info.c av_assert0(info); av_assert0 81 libavutil/tests/encryption_info.c av_assert0(info->key_id); av_assert0 82 libavutil/tests/encryption_info.c av_assert0(info->key_id_size == sizeof(test_key_id)); av_assert0 83 libavutil/tests/encryption_info.c av_assert0(info->iv); av_assert0 84 libavutil/tests/encryption_info.c av_assert0(info->iv_size == sizeof(test_iv)); av_assert0 85 libavutil/tests/encryption_info.c av_assert0(info->subsamples); av_assert0 86 libavutil/tests/encryption_info.c av_assert0(info->subsample_count == test_subsample_count); av_assert0 96 libavutil/tests/encryption_info.c av_assert0(copy); av_assert0 97 libavutil/tests/encryption_info.c av_assert0(copy != info); av_assert0 98 libavutil/tests/encryption_info.c av_assert0(compare_encryption_info(info, copy) == 0); av_assert0 102 libavutil/tests/encryption_info.c av_assert0(side_data); av_assert0 103 libavutil/tests/encryption_info.c av_assert0(side_data_size > 0); av_assert0 106 libavutil/tests/encryption_info.c av_assert0(copy); av_assert0 107 libavutil/tests/encryption_info.c av_assert0(copy != info); av_assert0 108 libavutil/tests/encryption_info.c av_assert0(compare_encryption_info(info, copy) == 0); av_assert0 120 libavutil/tests/encryption_info.c av_assert0(info); av_assert0 121 libavutil/tests/encryption_info.c av_assert0(info->system_id); av_assert0 122 libavutil/tests/encryption_info.c av_assert0(info->system_id_size == sizeof(test_system_id)); av_assert0 123 libavutil/tests/encryption_info.c av_assert0(info->key_ids); av_assert0 124 libavutil/tests/encryption_info.c av_assert0(info->num_key_ids == 2); av_assert0 125 libavutil/tests/encryption_info.c av_assert0(info->key_id_size == sizeof(test_key_id)); av_assert0 126 libavutil/tests/encryption_info.c av_assert0(info->key_ids[0]); av_assert0 127 libavutil/tests/encryption_info.c av_assert0(info->key_ids[1]); av_assert0 128 libavutil/tests/encryption_info.c av_assert0(info->data); av_assert0 129 libavutil/tests/encryption_info.c av_assert0(info->data_size == sizeof(test_data)); av_assert0 130 libavutil/tests/encryption_info.c av_assert0(!info->next); av_assert0 149 libavutil/tests/encryption_info.c av_assert0(side_data); av_assert0 150 libavutil/tests/encryption_info.c av_assert0(side_data_size > 0); av_assert0 152 libavutil/tests/encryption_info.c av_assert0(copy); av_assert0 153 libavutil/tests/encryption_info.c av_assert0(compare_encryption_init_info(info, copy) == 0); av_assert0 161 libavutil/tests/encryption_info.c av_assert0(side_data); av_assert0 163 libavutil/tests/encryption_info.c av_assert0(copy); av_assert0 164 libavutil/tests/encryption_info.c av_assert0(compare_encryption_init_info(info, copy) == 0); av_assert0 35 libavutil/tests/integer.c av_assert0(av_i2int(ai) == a); av_assert0 36 libavutil/tests/integer.c av_assert0(av_i2int(bi) == b); av_assert0 37 libavutil/tests/integer.c av_assert0(av_i2int(av_add_i(ai,bi)) == a+b); av_assert0 38 libavutil/tests/integer.c av_assert0(av_i2int(av_sub_i(ai,bi)) == a-b); av_assert0 39 libavutil/tests/integer.c av_assert0(av_i2int(av_mul_i(ai,bi)) == a*b); av_assert0 40 libavutil/tests/integer.c av_assert0(av_i2int(av_shr_i(ai, 9)) == a>>9); av_assert0 41 libavutil/tests/integer.c av_assert0(av_i2int(av_shr_i(ai,-9)) == a<<9); av_assert0 42 libavutil/tests/integer.c av_assert0(av_i2int(av_shr_i(ai, 17)) == a>>17); av_assert0 43 libavutil/tests/integer.c av_assert0(av_i2int(av_shr_i(ai,-17)) == a<<17); av_assert0 44 libavutil/tests/integer.c av_assert0(av_log2_i(ai) == av_log2(a)); av_assert0 45 libavutil/tests/integer.c av_assert0(av_i2int(av_div_i(ai,bi)) == a/b); av_assert0 40 libavutil/tx.c av_assert0(0); /* Never reached */ av_assert0 44 libavutil/utils.c av_assert0(AV_SAMPLE_FMT_DBLP == 9); av_assert0 45 libavutil/utils.c av_assert0(AVMEDIA_TYPE_ATTACHMENT == 4); av_assert0 46 libavutil/utils.c av_assert0(AV_PICTURE_TYPE_BI == 7); av_assert0 47 libavutil/utils.c av_assert0(LIBAVUTIL_VERSION_MICRO >= 100); av_assert0 48 libavutil/utils.c av_assert0(HAVE_MMX2 == HAVE_MMXEXT); av_assert0 50 libavutil/utils.c av_assert0(((size_t)-1) > 0); // C guarantees this but if false on a platform we care about revert at least b284e1ffe343d6697fb950d1ee517bafda8a9844 av_assert0 116 libavutil/utils.c default: av_assert0(!"valid element size"); av_assert0 158 libavutil/utils.c av_assert0((state[4] & 3) == 3); av_assert0 137 libavutil/video_enc_params.h av_assert0(idx < par->nb_blocks); av_assert0 99 libpostproc/postprocess.c av_assert0(LIBPOSTPROC_VERSION_MICRO >= 100); av_assert0 198 libswresample/audioconvert.c av_assert0(ctx->channels == out->ch_count); av_assert0 42 libswresample/dither.c av_assert0(s->dither.method < SWR_DITHER_NB); av_assert0 56 libswresample/dither.c av_assert0(s->dither.method < SWR_DITHER_NB); av_assert0 71 libswresample/dither.c default: av_assert0(0); av_assert0 177 libswresample/rematrix.c av_assert0(0); av_assert0 186 libswresample/rematrix.c av_assert0(0); av_assert0 213 libswresample/rematrix.c av_assert0(0); av_assert0 246 libswresample/rematrix.c av_assert0(0); av_assert0 282 libswresample/rematrix.c av_assert0(0); av_assert0 293 libswresample/rematrix.c av_assert0(0); av_assert0 303 libswresample/rematrix.c av_assert0(0); av_assert0 472 libswresample/rematrix.c av_assert0(0); av_assert0 512 libswresample/rematrix.c av_assert0(!s->out_ch_layout || out->ch_count == av_get_channel_layout_nb_channels(s->out_ch_layout)); av_assert0 513 libswresample/rematrix.c av_assert0(!s-> in_ch_layout || in ->ch_count == av_get_channel_layout_nb_channels(s-> in_ch_layout)); av_assert0 158 libswresample/resample.c av_assert0(tap_count == 1 || tap_count % 2 == 0); av_assert0 194 libswresample/resample.c av_assert0(0); av_assert0 335 libswresample/resample.c av_assert0(0); av_assert0 393 libswresample/resample.c av_assert0(!c->frac && !c->dst_incr_mod); av_assert0 554 libswresample/resample.c av_assert0(a->planar); av_assert0 37 libswresample/swresample.c av_assert0(LIBSWRESAMPLE_VERSION_MICRO >= 100); av_assert0 301 libswresample/swresample.c av_assert0(!s->in_ch_layout); av_assert0 327 libswresample/swresample.c av_assert0(s->used_ch_count); av_assert0 328 libswresample/swresample.c av_assert0(s->out.ch_count); av_assert0 378 libswresample/swresample.c av_assert0(!s->preout.count); av_assert0 415 libswresample/swresample.c av_assert0(a->bps); av_assert0 416 libswresample/swresample.c av_assert0(a->ch_count); av_assert0 434 libswresample/swresample.c av_assert0(out->planar == in->planar); av_assert0 435 libswresample/swresample.c av_assert0(out->bps == in->bps); av_assert0 436 libswresample/swresample.c av_assert0(out->ch_count == in->ch_count); av_assert0 589 libswresample/swresample.c av_assert0(!s->resample); av_assert0 600 libswresample/swresample.c av_assert0(s->midbuf.ch_count == s->used_ch_count); av_assert0 604 libswresample/swresample.c av_assert0(s->midbuf.ch_count == s->out.ch_count); av_assert0 631 libswresample/swresample.c av_assert0(s->in.planar); //we only support planar internally so it has to be, we support copying non planar though av_assert0 674 libswresample/swresample.c av_assert0(s->dither.noise.ch_count == preout->ch_count); av_assert0 747 libswresample/swresample.c av_assert0(s->drop_output); av_assert0 888 libswresample/swresample.c av_assert0(s->out_sample_rate == s->in_sample_rate); av_assert0 55 libswresample/tests/swresample.c default: av_assert0(0); av_assert0 289 libswresample/tests/swresample.c av_assert0(!vector); av_assert0 348 libswresample/tests/swresample.c av_assert0(mid_count==0); av_assert0 47 libswscale/alphablend.c av_assert0(plane_count == nb_components - 1); av_assert0 149 libswscale/output.c av_assert0(output_bits == 16); av_assert0 164 libswscale/output.c av_assert0(output_bits == 16); av_assert0 2569 libswscale/output.c av_assert0(0); av_assert0 58 libswscale/slice.c av_assert0(n == s->plane[ii].available_lines); av_assert0 431 libswscale/swscale.c av_assert0((lastLumSrcY - firstLumSrcY + 1) <= hout_slice->plane[0].available_lines); av_assert0 432 libswscale/swscale.c av_assert0((lastChrSrcY - firstChrSrcY + 1) <= hout_slice->plane[1].available_lines); av_assert0 974 libswscale/swscale.c av_assert0(dstY >= ret); av_assert0 975 libswscale/swscale.c av_assert0(ret >= 0); av_assert0 976 libswscale/swscale.c av_assert0(c->dstH >= dstY); av_assert0 646 libswscale/swscale_internal.h av_assert0(desc); av_assert0 653 libswscale/swscale_internal.h av_assert0(desc); av_assert0 660 libswscale/swscale_internal.h av_assert0(desc); av_assert0 667 libswscale/swscale_internal.h av_assert0(desc); av_assert0 674 libswscale/swscale_internal.h av_assert0(desc); av_assert0 681 libswscale/swscale_internal.h av_assert0(desc); av_assert0 692 libswscale/swscale_internal.h av_assert0(desc); av_assert0 699 libswscale/swscale_internal.h av_assert0(desc); av_assert0 706 libswscale/swscale_internal.h av_assert0(desc); av_assert0 761 libswscale/swscale_internal.h av_assert0(desc); av_assert0 768 libswscale/swscale_internal.h av_assert0(desc); av_assert0 776 libswscale/swscale_internal.h av_assert0(desc); av_assert0 783 libswscale/swscale_internal.h av_assert0(desc); av_assert0 792 libswscale/swscale_internal.h av_assert0(desc); av_assert0 801 libswscale/swscale_internal.h av_assert0(desc); av_assert0 808 libswscale/swscale_internal.h av_assert0(desc); av_assert0 815 libswscale/swscale_internal.h av_assert0(desc); av_assert0 246 libswscale/swscale_unscaled.c av_assert0(!(srcStride[0] % 2 || srcStride[1] % 2 || srcStride[2] % 2 || av_assert0 293 libswscale/swscale_unscaled.c av_assert0(!(dstStride[0] % 2 || dstStride[1] % 2)); av_assert0 1310 libswscale/swscale_unscaled.c av_assert0(srcSliceH > 1); av_assert0 1361 libswscale/swscale_unscaled.c av_assert0(srcSliceH > 1); av_assert0 1559 libswscale/swscale_unscaled.c av_assert0(ALT32_CORR == 1); av_assert0 2054 libswscale/swscale_unscaled.c av_assert0(0); av_assert0 77 libswscale/utils.c av_assert0(LIBSWSCALE_VERSION_MICRO >= 100); av_assert0 418 libswscale/utils.c av_assert0(sizeFactor > 0); av_assert0 508 libswscale/utils.c av_assert0(0); av_assert0 521 libswscale/utils.c av_assert0(filterSize > 0); av_assert0 527 libswscale/utils.c av_assert0(filter2Size > 0); av_assert0 609 libswscale/utils.c av_assert0(minFilterSize > 0); av_assert0 611 libswscale/utils.c av_assert0(filterSize > 0); av_assert0 676 libswscale/utils.c av_assert0((*filterPos)[i] >= 0); av_assert0 677 libswscale/utils.c av_assert0((*filterPos)[i] < srcW); av_assert0 680 libswscale/utils.c av_assert0((*filterPos)[i] + j < srcW || !filter[i * filterSize + j]); av_assert0 1088 libswscale/utils.c av_assert0(offsetof(SwsContext, redDither) + DITHER32_INT == offsetof(SwsContext, dither32)); av_assert0 1759 libswscale/utils.c av_assert0(c->chrDstH <= dstH); av_assert0 417 libswscale/x86/swscale.c av_assert0(c->srcBpc == 16);\ av_assert0 441 libswscale/x86/swscale.c default: av_assert0(c->dstBpc>8); \ av_assert0 59 tests/api/api-codec-param-test.c av_assert0(decode || (!decode && !got_frame)); av_assert0 194 tests/api/api-codec-param-test.c av_assert0(fmt_ctx1->nb_streams == fmt_ctx2->nb_streams); av_assert0 214 tests/api/api-codec-param-test.c av_assert0(av_opt_get(codec_ctx1, opt->name, 0, &str1) >= 0); av_assert0 215 tests/api/api-codec-param-test.c av_assert0(av_opt_get(codec_ctx2, opt->name, 0, &str2) >= 0); av_assert0 58 tests/api/api-threadmessage-test.c av_assert0(msg->magic == MAGIC); av_assert0 145 tests/api/api-threadmessage-test.c av_assert0(msg.magic == MAGIC); av_assert0 77 tests/checkasm/vf_nlmeans.c av_assert0(safe_pw && safe_ph); av_assert0 78 tests/checkasm/vf_nlmeans.c av_assert0(startx_safe - s1x >= 0); av_assert0(startx_safe - s1x < w); av_assert0 79 tests/checkasm/vf_nlmeans.c av_assert0(starty_safe - s1y >= 0); av_assert0(starty_safe - s1y < h); av_assert0 80 tests/checkasm/vf_nlmeans.c av_assert0(startx_safe - s2x >= 0); av_assert0(startx_safe - s2x < w); av_assert0 81 tests/checkasm/vf_nlmeans.c av_assert0(starty_safe - s2y >= 0); av_assert0(starty_safe - s2y < h); av_assert0 44 tests/dnn/dnn-layer-mathbinary-test.c av_assert0(!"not supported yet"); av_assert0 36 tests/dnn/dnn-layer-mathunary-test.c av_assert0(!"not supported yet"); av_assert0 121 tools/uncoded_frame.c av_assert0(st - streams == nb_streams); av_assert0 182 tools/uncoded_frame.c av_assert0(!"reached");