av_assert1 228 fftools/ffmpeg.c av_assert1(frame->data[0]); av_assert1 2238 fftools/ffmpeg.c av_assert1(ist->nb_filters > 0); /* ensure ret is initialized */ av_assert1 2690 fftools/ffmpeg.c av_assert1(pkt->duration >= 0); av_assert1 3219 fftools/ffmpeg.c av_assert1(index < size); av_assert1 3227 fftools/ffmpeg.c av_assert1(index < size); av_assert1 167 libavcodec/8svx.c av_assert1(0); av_assert1 159 libavcodec/aaccoder.c av_assert1(idx >= 0); av_assert1 163 libavcodec/aaccoder_trellis.h av_assert1(idx >= 0); av_assert1 752 libavcodec/aaccoder_twoloop.h av_assert1(sfdiff >= 0 && sfdiff <= 2*SCALE_MAX_DIFF); av_assert1 37 libavcodec/aacenc_quantization_misc.h av_assert1(scale_idx >= 0 && scale_idx < 256); av_assert1 2182 libavcodec/ac3enc.c av_assert1(wpf > 0 && wpf <= 2048); av_assert1 50 libavcodec/acelp_filters.c av_assert1(frac_pos >= 0 && frac_pos < precision); av_assert1 382 libavcodec/adpcmenc.c av_assert1(pathn < FREEZE_INTERVAL << avctx->trellis);\ av_assert1 502 libavcodec/amrnbdec.c av_assert1(MODE_4k75 <= (signed)mode && mode <= MODE_12k2); av_assert1 527 libavcodec/atrac3.c av_assert1(0); av_assert1 628 libavcodec/avpacket.c av_assert1(!src->size || src->data); av_assert1 681 libavcodec/avpacket.c av_assert1(!pkt->size || pkt->data); av_assert1 701 libavcodec/avpacket.c av_assert1(!pkt->size || pkt->data); av_assert1 105 libavcodec/bitstream.c av_assert1(0); \ av_assert1 99 libavcodec/bmpenc.c av_assert1(bit_count == 8); av_assert1 332 libavcodec/bsf.c av_assert1(ret != AVERROR(EAGAIN)); av_assert1 100 libavcodec/cngenc.c av_assert1(avpkt->size == 1 + p->order); av_assert1 170 libavcodec/dca_core.c av_assert1(s->nchannels <= DCA_CHANNELS - 2); av_assert1 181 libavcodec/dca_core.c av_assert1(s->nchannels <= DCA_CHANNELS - 1); av_assert1 203 libavcodec/dca_core.c av_assert1(s->nchannels <= DCA_CHANNELS); av_assert1 575 libavcodec/dca_core.c av_assert1(abits >= 0 && abits <= DCA_ABITS_MAX); av_assert1 659 libavcodec/dca_core.c av_assert1((unsigned int)nlfesamples <= FF_ARRAY_ELEMS(audio)); av_assert1 2097 libavcodec/dca_core.c av_assert1(s->nchannels - xch_base <= DCA_XXCH_CHANNELS_MAX); av_assert1 2288 libavcodec/dca_core.c av_assert1(s->nchannels - xch_base <= DCA_XXCH_CHANNELS_MAX); av_assert1 734 libavcodec/dca_xll.c av_assert1(c->nfreqbands > 1); av_assert1 1187 libavcodec/dca_xll.c av_assert1(band < c->nfreqbands); av_assert1 1218 libavcodec/dca_xll.c av_assert1(band < c->nfreqbands); av_assert1 1013 libavcodec/decode.c av_assert1((ret >= 0) >= !!*got_sub_ptr && av_assert1 1835 libavcodec/decode.c av_assert1(!frame->private_ref); av_assert1 235 libavcodec/dnxhdenc.c av_assert1(!ctx->vlc_codes[index]); av_assert1 890 libavcodec/dnxhdenc.c av_assert1(nbits < ctx->bit_depth + 4); av_assert1 1188 libavcodec/dnxhdenc.c av_assert1(!v); av_assert1 1194 libavcodec/dnxhdenc.c av_assert1(!buckets[j][0]); av_assert1 1324 libavcodec/dnxhdenc.c av_assert1(!(ctx->slice_size[i] & 3)); av_assert1 1329 libavcodec/dnxhdenc.c av_assert1(ctx->data_offset + offset + 4 <= ctx->coding_unit_size); av_assert1 236 libavcodec/dv.c av_assert1(dv_vlc.table_size == 1664); av_assert1 339 libavcodec/dvdec.c av_assert1((((int) mb_bit_buffer) & 7) == 0); av_assert1 340 libavcodec/dvdec.c av_assert1((((int) vs_bit_buffer) & 7) == 0); av_assert1 501 libavcodec/error_resilience.c av_assert1(!IS_INTRA(s->cur_pic.mb_type[mb_xy])); av_assert1 502 libavcodec/error_resilience.c av_assert1(s->last_pic.f && s->last_pic.f->data[0]); av_assert1 236 libavcodec/exr.c av_assert1(uncompressed_size % 2 == 0); av_assert1 283 libavcodec/exr.c av_assert1(uncompressed_size % 2 == 0); av_assert1 1197 libavcodec/exr.c av_assert1(s->pixel_type == EXR_UINT); av_assert1 261 libavcodec/ffv1dec.c av_assert1(fsdst->plane_count == fssrc->plane_count); av_assert1 262 libavcodec/ffv1dec.c av_assert1(fsdst == fs); av_assert1 318 libavcodec/ffv1dec.c av_assert1(width && height); av_assert1 1039 libavcodec/ffv1dec.c av_assert1(fdst->max_slice_count == fsrc->max_slice_count); av_assert1 717 libavcodec/flacenc.c av_assert1(pmin >= 0 && pmin <= MAX_PARTITION_ORDER); av_assert1 718 libavcodec/flacenc.c av_assert1(pmax >= 0 && pmax <= MAX_PARTITION_ORDER); av_assert1 719 libavcodec/flacenc.c av_assert1(pmin <= pmax); av_assert1 287 libavcodec/frame_thread_encoder.c av_assert1(!*got_packet_ptr); av_assert1 224 libavcodec/h261enc.c av_assert1(slevel != 0); av_assert1 225 libavcodec/h261enc.c av_assert1(level <= 127); av_assert1 281 libavcodec/h261enc.c av_assert1(h->mtype > 1); av_assert1 310 libavcodec/h261enc.c av_assert1(cbp > 0); av_assert1 52 libavcodec/h263dec.c av_assert1(((MpegEncContext *)avctx->priv_data)->studio_profile); av_assert1 319 libavcodec/h263dec.c av_assert1(s->mb_x == 0 && s->mb_y == s->mb_height); av_assert1 671 libavcodec/h263dec.c av_assert1(s->bitstream_buffer_size == 0); av_assert1 690 libavcodec/h263dec.c av_assert1(s->current_picture.f->pict_type == s->current_picture_ptr->f->pict_type); av_assert1 691 libavcodec/h263dec.c av_assert1(s->current_picture.f->pict_type == s->pict_type); av_assert1 94 libavcodec/h264_mp4toannexb_bsf.c av_assert1(total_size <= INT_MAX - padding); av_assert1 284 libavcodec/h264_mp4toannexb_bsf.c av_assert1(out_size == opkt->size); av_assert1 599 libavcodec/h264_parser.c av_assert1(pc->last_index + next >= 0); av_assert1 287 libavcodec/h264_slice.c av_assert1(!from[i] || av_assert1 1102 libavcodec/h264_slice.c av_assert1(first_slice); av_assert1 1950 libavcodec/h264_slice.c av_assert1(h->mb_num == h->mb_width * h->mb_height); av_assert1 1961 libavcodec/h264_slice.c av_assert1(sl->mb_y < h->mb_height); av_assert1 78 libavcodec/h264dec.c av_assert1(ref >= 0); av_assert1 83 libavcodec/huffyuv.c av_assert1(s->width > 0 && s->height > 0); av_assert1 230 libavcodec/ituh263enc.c av_assert1(s->mb_x == 0 && s->mb_y == 0); av_assert1 2130 libavcodec/jpeg2000dec.c av_assert1(s->curtileno >= 0); av_assert1 424 libavcodec/mjpegenc_common.c av_assert1((size&7) == 0); av_assert1 589 libavcodec/mjpegenc_common.c av_assert1((header_bits & 7) == 0); av_assert1 91 libavcodec/mlp_parse.c av_assert1(get_bits_count(gb) == 0); av_assert1 769 libavcodec/motion_est.c av_assert1(field_select==0 || field_select==1); av_assert1 770 libavcodec/motion_est.c av_assert1(field_select_tables[block][xy]==0 || field_select_tables[block][xy]==1); av_assert1 693 libavcodec/motion_est_template.c av_assert1(minima_count <= MAX_SAB_SIZE); av_assert1 261 libavcodec/motionpixels.c av_assert1(mp->changes_map[0]); av_assert1 196 libavcodec/mpeg12.c av_assert1(pc->frame_start_found >= 0 && pc->frame_start_found <= 4); av_assert1 106 libavcodec/mpeg4video_parser.c av_assert1(s1->pts == AV_NOPTS_VALUE); av_assert1 107 libavcodec/mpeg4video_parser.c av_assert1(s1->dts == AV_NOPTS_VALUE); av_assert1 1397 libavcodec/mpegaudiodec_template.c av_assert1((get_bits_count(&s->gb) & 7) == 0); av_assert1 1615 libavcodec/mpegaudiodec_template.c av_assert1((get_bits_count(&s->gb) & 7) == 0); av_assert1 1622 libavcodec/mpegaudiodec_template.c av_assert1(i <= buf_size - HEADER_SIZE && i >= 0); av_assert1 1961 libavcodec/mpegaudiodec_template.c av_assert1(m); av_assert1 2300 libavcodec/mpegvideo.c av_assert1((s->mb_y&1) == (s->picture_structure == PICT_BOTTOM_FIELD)); av_assert1 2008 libavcodec/mpegvideo_enc.c av_assert1(s->repeat_first_field == 0); av_assert1 2073 libavcodec/mpegvideo_enc.c av_assert1((s->frame_bits & 7) == 0); av_assert1 2570 libavcodec/mpegvideo_enc.c av_assert1(0); av_assert1 3059 libavcodec/mpegvideo_enc.c av_assert1(put_bits_ptr(&s->pb) == s->ptr_lastgob); av_assert1 3595 libavcodec/mpegvideo_enc.c av_assert1(put_bits_count(&src->pb) % 8 ==0); av_assert1 3596 libavcodec/mpegvideo_enc.c av_assert1(put_bits_count(&dst->pb) % 8 ==0); av_assert1 3640 libavcodec/mpegvideo_enc.c av_assert1(s->current_picture_ptr->f->pts != AV_NOPTS_VALUE); av_assert1 3645 libavcodec/mpegvideo_enc.c av_assert1(s->pb_time > 0 && s->pb_time < s->pp_time); av_assert1 3649 libavcodec/mpegvideo_enc.c av_assert1(s->picture_number==0 || s->pp_time > 0); av_assert1 131 libavcodec/mqcenc.c av_assert1(mqc->bpstart - mqc->bp == 1); av_assert1 132 libavcodec/mqcenc.c av_assert1(*dst_len > 0); av_assert1 133 libavcodec/mqcenc.c av_assert1(mqc->bp[0] == 0 && dst[0] == 0); av_assert1 284 libavcodec/nellymoserenc.c av_assert1(c); //FIXME av_assert1 128 libavcodec/parser.c av_assert1(avctx->codec_id != AV_CODEC_ID_NONE); av_assert1 131 libavcodec/parser.c av_assert1(avctx->codec_id == s->parser->codec_ids[0] || av_assert1 119 libavcodec/rangecoder.c av_assert1(c->low == 0); av_assert1 120 libavcodec/rangecoder.c av_assert1(c->range >= 0x100); av_assert1 896 libavcodec/ratecontrol.c av_assert1(s->frame_bits >= s->stuffing_bits); av_assert1 82 libavcodec/snow_dwt.c av_assert1(line >= 0 && line < buf->line_count); av_assert1 83 libavcodec/snow_dwt.c av_assert1(buf->line[line]); av_assert1 155 libavcodec/snow_dwt.c av_assert1(shift == 4); av_assert1 793 libavcodec/snow_dwt.c av_assert1(w == h); av_assert1 808 libavcodec/snow_dwt.c av_assert1(s >= 0); av_assert1 300 libavcodec/snowenc.c av_assert1(c-> stride == stride); av_assert1 301 libavcodec/snowenc.c av_assert1(c->uvstride == uvstride); av_assert1 411 libavcodec/snowenc.c av_assert1(iscore < 255*255*256 + s->lambda2*10); av_assert1 412 libavcodec/snowenc.c av_assert1(iscore >= 0); av_assert1 413 libavcodec/snowenc.c av_assert1(l>=0 && l<=255); av_assert1 414 libavcodec/snowenc.c av_assert1(pl>=0 && pl<=255); av_assert1 756 libavcodec/snowenc.c av_assert1(block_w== 8 || block_w==16); av_assert1 211 libavcodec/svq1enc.c av_assert1(best_mean >= 0 && best_mean < 256 || !intra); av_assert1 212 libavcodec/svq1enc.c av_assert1(best_mean >= -256 && best_mean < 256); av_assert1 213 libavcodec/svq1enc.c av_assert1(best_count >= 0 && best_count < 7); av_assert1 214 libavcodec/svq1enc.c av_assert1(level < 4 || best_count == 0); av_assert1 423 libavcodec/svq1enc.c av_assert1(mx >= -32 && mx <= 31); av_assert1 424 libavcodec/svq1enc.c av_assert1(my >= -32 && my <= 31); av_assert1 425 libavcodec/svq1enc.c av_assert1(pred_x >= -32 && pred_x <= 31); av_assert1 426 libavcodec/svq1enc.c av_assert1(pred_y >= -32 && pred_y <= 31); av_assert1 103 libavcodec/truehd_core_bsf.c av_assert1(reduce >= 0 && reduce % 2 == 0); av_assert1 653 libavcodec/vc1_pred.c av_assert1(c_valid); av_assert1 662 libavcodec/vc1_pred.c av_assert1(field_b && b_valid); av_assert1 1704 libavcodec/vp9.c av_assert1(!s->pass); av_assert1 122 libavcodec/vp9block.c av_assert1(pred < 8); av_assert1 173 libavcodec/wmaenc.c av_assert1(code >= 0 && code < 120); av_assert1 153 libavcodec/x86/mpegvideoencdsp_init.c av_assert1(w == 4); av_assert1 200 libavfilter/af_aecho.c av_assert1(channels > 0); /* would corrupt delay_index */ \ av_assert1 235 libavfilter/af_compand.c av_assert1(channels > 0); /* would corrupt delay_count and delay_index */ av_assert1 238 libavfilter/asrc_sine.c av_assert1(nb_samples >= 0); av_assert1 411 libavfilter/avfilter.c av_assert1(!link->dst->filter->activate); av_assert1 416 libavfilter/avfilter.c av_assert1(!link->frame_wanted_out); av_assert1 417 libavfilter/avfilter.c av_assert1(link->dst->ready >= 300); av_assert1 1087 libavfilter/avfilter.c av_assert1(frame->format == link->format); av_assert1 1088 libavfilter/avfilter.c av_assert1(frame->width == link->w); av_assert1 1089 libavfilter/avfilter.c av_assert1(frame->height == link->h); av_assert1 1142 libavfilter/avfilter.c av_assert1(samples_ready(link, link->min_samples)); av_assert1 1199 libavfilter/avfilter.c av_assert1(ff_framequeue_queued_frames(&link->fifo)); av_assert1 1203 libavfilter/avfilter.c av_assert1(ret); av_assert1 1205 libavfilter/avfilter.c av_assert1(!frame); av_assert1 1268 libavfilter/avfilter.c av_assert1(!ff_framequeue_queued_frames(&filter->inputs[i]->fifo)); av_assert1 1421 libavfilter/avfilter.c av_assert1(!(filter->filter->flags & AVFILTER_FLAG_SUPPORT_TIMELINE_GENERIC && av_assert1 1464 libavfilter/avfilter.c av_assert1(min); av_assert1 1501 libavfilter/avfilter.c av_assert1(min); av_assert1 1604 libavfilter/avfilter.c av_assert1(!link->status_in); av_assert1 1605 libavfilter/avfilter.c av_assert1(!link->status_out); av_assert1 1429 libavfilter/avfiltergraph.c av_assert1(!oldest->dst->filter->activate); av_assert1 1430 libavfilter/avfiltergraph.c av_assert1(oldest->age_index >= 0); av_assert1 76 libavfilter/buffersink.c av_assert1(out); av_assert1 344 libavfilter/formats.c av_assert1(!(*l && (*l)->all_layouts)); av_assert1 103 libavfilter/framequeue.c av_assert1(fq->queued); av_assert1 120 libavfilter/framequeue.c av_assert1(idx < fq->queued); av_assert1 133 libavfilter/framequeue.c av_assert1(fq->queued); av_assert1 135 libavfilter/framequeue.c av_assert1(samples < b->frame->nb_samples); av_assert1 112 libavfilter/vf_fps.c av_assert1(s->frames_count > 0); av_assert1 187 libavfilter/vf_fps.c av_assert1(s->frames_count < 2); av_assert1 191 libavfilter/vf_fps.c av_assert1(ret); av_assert1 217 libavfilter/vf_fps.c av_assert1(s->frames_count == 2 || (s->status && s->frames_count == 1)); av_assert1 255 libavfilter/vf_nlmeans.c av_assert1(startx_safe - s1x >= 0); av_assert1(startx_safe - s1x < w); av_assert1 256 libavfilter/vf_nlmeans.c av_assert1(starty_safe - s1y >= 0); av_assert1(starty_safe - s1y < h); av_assert1 257 libavfilter/vf_nlmeans.c av_assert1(startx_safe - s2x >= 0); av_assert1(startx_safe - s2x < w); av_assert1 258 libavfilter/vf_nlmeans.c av_assert1(starty_safe - s2y >= 0); av_assert1(starty_safe - s2y < h); av_assert1 473 libavfilter/vf_pullup.c av_assert1(n < FF_ARRAY_ELEMS(fr->ifields)); av_assert1 3729 libavfilter/vf_v360.c av_assert1(!isnan(vec[0]) && !isnan(vec[1]) && !isnan(vec[2])); av_assert1 3731 libavfilter/vf_v360.c av_assert1(!isnan(vec[0]) && !isnan(vec[1]) && !isnan(vec[2])); av_assert1 3738 libavfilter/vf_v360.c av_assert1(!isnan(du) && !isnan(dv)); av_assert1 1563 libavformat/asfdec_f.c av_assert1(pkt->pos == asf_st->packet_pos); av_assert1 112 libavformat/av1.c av_assert1(ret == len); av_assert1 645 libavformat/avienc.c av_assert1(avio_tell(pb) - pos == size); av_assert1 1060 libavformat/aviobuf.c av_assert1(flags == AVIO_FLAG_WRITE || flags == AVIO_FLAG_READ); av_assert1 288 libavformat/flacdec.c av_assert1(!pkt.size); av_assert1 1029 libavformat/flvenc.c av_assert1(flags>=0); av_assert1 3211 libavformat/matroskadec.c av_assert1(track->stream->codecpar->extradata_size >= 2); av_assert1 3643 libavformat/matroskadec.c av_assert1(out_data != data); av_assert1 361 libavformat/matroskaenc.c av_assert1(seekhead->num_entries < MAX_SEEKHEAD_ENTRIES); av_assert1 664 libavformat/matroskaenc.c av_assert1(len < (1 << 24) - 4); av_assert1 872 libavformat/mux.c av_assert1(!*next_point); av_assert1 1824 libavformat/mxfenc.c av_assert1(!(avio_tell(s->pb) & (KAG_SIZE-1))); av_assert1 1189 libavformat/nutenc.c av_assert1(nut->write_index); // sp_count should be 0 if no index is going to be written av_assert1 170 libavformat/rtpdec_xiph.c av_assert1(fragmented < 4); av_assert1 79 libavformat/rtpenc_xiph.c av_assert1(s->num_frames <= s->max_frames_per_packet); av_assert1 2213 libavformat/utils.c av_assert1(index == 0); av_assert1 2221 libavformat/utils.c av_assert1(e->timestamp >= target_ts); av_assert1 448 libavutil/frame.c av_assert1(dst->width == 0 && dst->height == 0); av_assert1 449 libavutil/frame.c av_assert1(dst->channels == 0); av_assert1 585 libavutil/frame.c av_assert1(dst->width == 0 && dst->height == 0); av_assert1 586 libavutil/frame.c av_assert1(dst->channels == 0); av_assert1 180 libavutil/rational.c av_assert1(n < (1<<24)); av_assert1 181 libavutil/rational.c av_assert1(n >= (1<<23)); av_assert1 219 libswresample/audioconvert.c av_assert1(off>=0); av_assert1 220 libswresample/audioconvert.c av_assert1(off<=len); av_assert1 494 libswresample/swresample.c av_assert1(s->in_buffer.ch_count == in_param->ch_count); av_assert1 495 libswresample/swresample.c av_assert1(s->in_buffer.planar == in_param->planar); av_assert1 496 libswresample/swresample.c av_assert1(s->in_buffer.fmt == in_param->fmt); av_assert1 66 libswscale/input.c av_assert1(src1==src2); av_assert1 85 libswscale/input.c av_assert1(src1==src2); av_assert1 157 libswscale/input.c av_assert1(src1 == src2); av_assert1 179 libswscale/input.c av_assert1(src1 == src2); av_assert1 482 libswscale/input.c av_assert1(src1 == src2); av_assert1 541 libswscale/input.c av_assert1(src1 == src2); av_assert1 552 libswscale/input.c av_assert1(src1 == src2); av_assert1 673 libswscale/input.c av_assert1(src1 == src2); av_assert1 795 libswscale/input.c av_assert1(src1 == src2); av_assert1 814 libswscale/input.c av_assert1(src1 == src2); av_assert1 840 libswscale/input.c av_assert1(src1 == src2); av_assert1 859 libswscale/input.c av_assert1(src1 == src2); av_assert1 861 libswscale/swscale.c av_assert1(c->srcFormat == AV_PIX_FMT_BGR4_BYTE); av_assert1 1681 libswscale/swscale_unscaled.c av_assert1(length != 0); av_assert1 204 libswscale/vscale.c av_assert1(!c->yuv2packed1 && !c->yuv2packed2);