av_assert0 1396 cmdutils.c av_assert0(i == nb_codecs); av_assert0 2141 cmdutils.c av_assert0(dev && opts); av_assert0 315 doc/examples/muxing.c av_assert0(dst_nb_samples == frame->nb_samples); av_assert0 267 doc/examples/transcode_aac.c av_assert0(output_codec_context->sample_rate == input_codec_context->sample_rate); av_assert0 770 ffmpeg.c av_assert0(pkt.size || !pkt.data); av_assert0 986 ffmpeg.c av_assert0(0); av_assert0 1304 ffmpeg.c av_assert0(0); av_assert0 2502 ffmpeg.c av_assert0(index == size); av_assert0 2645 ffmpeg.c av_assert0(ist && !ost->filter); av_assert0 3800 ffmpeg.c av_assert0(ost->source_index >= 0); av_assert0 211 ffmpeg_dxva2.c av_assert0(frame->format == AV_PIX_FMT_DXVA2_VLD); av_assert0 275 ffmpeg_filter.c av_assert0(ist); av_assert0 585 ffmpeg_filter.c default: av_assert0(0); av_assert0 856 ffmpeg_filter.c default: av_assert0(0); av_assert0 482 ffmpeg_opt.c default: av_assert0(0);\ av_assert0 106 ffmpeg_vdpau.c av_assert0(frame->format == AV_PIX_FMT_VDPAU); av_assert0 502 ffprobe.c av_assert0(wctx->level < SECTION_MAX_NB_LEVELS); av_assert0 2900 ffprobe.c av_assert0(i < read_intervals_nb); av_assert0 2916 ffprobe.c av_assert0(i == read_intervals_nb); av_assert0 727 ffserver.c av_assert0(len < sizeof(buffer)); av_assert0 223 ffserver_config.c av_assert0(0); av_assert0 368 ffserver_config.c av_assert0(0); av_assert0 540 ffserver_config.c av_assert0(0); av_assert0 691 ffserver_config.c av_assert0(pfeed); av_assert0 719 ffserver_config.c av_assert0(feed); av_assert0 801 ffserver_config.c av_assert0(pstream); av_assert0 842 ffserver_config.c av_assert0(stream); av_assert0 1167 ffserver_config.c av_assert0(predirect); av_assert0 1184 ffserver_config.c av_assert0(redirect); av_assert0 1208 ffserver_config.c av_assert0(config); 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 357 libavcodec/4xm.c av_assert0(code >= 0 && code <= 6); av_assert0 412 libavcodec/4xm.c av_assert0(start <= src && src <= end); av_assert0 796 libavcodec/4xm.c av_assert0(prestream <= buf + length); av_assert0 839 libavcodec/4xm.c av_assert0(avctx->width % 16 == 0 && avctx->height % 16 == 0); av_assert0 389 libavcodec/a64multienc.c av_assert0(pkt->size >= req_size); av_assert0 706 libavcodec/aacdec.c av_assert0(0); av_assert0 398 libavcodec/aacenc.c av_assert0(diff >= 0 && diff <= 120); av_assert0 397 libavcodec/aacsbr.c av_assert0(0); av_assert0 1407 libavcodec/apedec.c av_assert0(s->samples >= 0); av_assert0 66 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 45 libavcodec/avpacket.c av_assert0(0); av_assert0 114 libavcodec/avpacket.c av_assert0((unsigned)pkt->size <= INT_MAX - FF_INPUT_BUFFER_PADDING_SIZE); av_assert0 371 libavcodec/avpacket.c av_assert0(p-pkt->data == pkt->size); av_assert0 404 libavcodec/avpacket.c av_assert0(size<=INT_MAX && p - pkt->data >= size); av_assert0 285 libavcodec/bitstream.c av_assert0(nb_codes + 1 <= FF_ARRAY_ELEMS(localbuf)); av_assert0 301 libavcodec/bitstream.c av_assert0(symbols_size <= 2 || !symbols); av_assert0 343 libavcodec/bitstream.c av_assert0(ret >= 0); av_assert0 139 libavcodec/bmvvideo.c av_assert0(len>0); av_assert0 135 libavcodec/bytestream.h av_assert0(buf_size >= 0); av_assert0 145 libavcodec/bytestream.h av_assert0(buf_size >= 0); av_assert0 163 libavcodec/cabac.c av_assert0(c->low <= 0x1FF); av_assert0 898 libavcodec/cinepakenc.c av_assert0(i >= size); // training set is no smaller than the codebook av_assert0 1242 libavcodec/cinepakenc.c av_assert0(best_nstrips >= 0 && best_size >= 0); av_assert0 317 libavcodec/dca_exss.c av_assert0(num_assets > 0); // silence a warning av_assert0 602 libavcodec/dcaenc.c av_assert0(used_abits != USED_1ABITS); av_assert0 654 libavcodec/dcaenc.c av_assert0(peak_cb <= 0); av_assert0 655 libavcodec/dcaenc.c av_assert0(peak_cb >= -2047); av_assert0 675 libavcodec/dcaenc.c av_assert0((quant_levels[abits] - 1) / 2 >= quantize_value(peak, *quant)); av_assert0 47 libavcodec/dfa.c av_assert0(av_image_check_size(avctx->width, avctx->height, 0, avctx) >= 0); av_assert0 362 libavcodec/diracdec.c av_assert0(stride >= w); av_assert0 173 libavcodec/dnxhdenc.c av_assert0(!alevel || j < 257); av_assert0 183 libavcodec/dnxhdenc.c av_assert0(run < 63); av_assert0 316 libavcodec/dnxhdenc.c av_assert0(index >= 0); av_assert0 309 libavcodec/dvbsubdec.c av_assert0(obj2); av_assert0 64 libavcodec/dvdsubenc.c av_assert0(color < 4); av_assert0 423 libavcodec/dvdsubenc.c av_assert0(sizeof(dvdc->global_palette) == sizeof(default_palette)); av_assert0 42 libavcodec/dxva2_hevc.c av_assert0((index & 0x7f) == index && (flag & 0x01) == flag); av_assert0 176 libavcodec/dxva2_hevc.c av_assert0(rpl->nb_refs <= FF_ARRAY_ELEMS(pp->ref_list)); \ av_assert0 301 libavcodec/dxva2_hevc.c av_assert0((bs->DataSize & 127) == 0); av_assert0 318 libavcodec/dxva2_hevc.c av_assert0(ctx_pic); av_assert0 47 libavcodec/error_resilience.c av_assert0(s->quarter_sample); av_assert0 1174 libavcodec/error_resilience.c av_assert0(s->avctx->codec_id != AV_CODEC_ID_H264); av_assert0 117 libavcodec/ffv1.c av_assert0(f->slice_count > 0); av_assert0 286 libavcodec/ffv1dec.c av_assert0(f->version > 2); av_assert0 824 libavcodec/ffv1dec.c av_assert0(context_count >= 0); av_assert0 1002 libavcodec/ffv1dec.c av_assert0(f->version > 1); av_assert0 1070 libavcodec/ffv1dec.c av_assert0(!fdst->plane[0].state); av_assert0 1071 libavcodec/ffv1dec.c av_assert0(!fdst->sample_buffer); av_assert0 534 libavcodec/ffv1enc.c av_assert0(f->plane[j].quant_table_index == f->avctx->context_model); av_assert0 872 libavcodec/ffv1enc.c av_assert0(s->version >= 2); av_assert0 976 libavcodec/ffv1enc.c av_assert0(!sf->rc_stat2[i]); av_assert0 1000 libavcodec/ffv1enc.c av_assert0(f->plane[j].quant_table_index == f->avctx->context_model); av_assert0 1161 libavcodec/ffv1enc.c av_assert0(fs->slice_coding_mode == 0); av_assert0 1288 libavcodec/ffv1enc.c av_assert0(bytes < pkt->size / f->slice_count); av_assert0 1290 libavcodec/ffv1enc.c av_assert0(bytes < (1 << 24)); av_assert0 134 libavcodec/flacdec.c av_assert0(s->max_blocksize); av_assert0 160 libavcodec/flacenc.c av_assert0(samplerate > 0); av_assert0 172 libavcodec/frame_thread_encoder.c av_assert0(!avctx->internal->frame_thread_encoder); av_assert0 210 libavcodec/frame_thread_encoder.c av_assert0(!thread_avctx->internal->frame_thread_encoder); av_assert0 2289 libavcodec/g723_1.c av_assert0(0); av_assert0 319 libavcodec/g726.c av_assert0(avctx->sample_rate > 0); av_assert0 241 libavcodec/gif.c av_assert0(avctx->pix_fmt == AV_PIX_FMT_PAL8); av_assert0 400 libavcodec/h261dec.c av_assert0(h->mtype < FF_ARRAY_ELEMS(ff_h261_mtype_map)); av_assert0 660 libavcodec/h261dec.c av_assert0(s->current_picture.f->pict_type == s->current_picture_ptr->f->pict_type); av_assert0 661 libavcodec/h261dec.c av_assert0(s->current_picture.f->pict_type == s->pict_type); av_assert0 329 libavcodec/h261enc.c av_assert0(MAX_LEVEL >= 64); av_assert0 330 libavcodec/h261enc.c av_assert0(MAX_RUN >= 63); av_assert0 643 libavcodec/h264.c av_assert0(h->sps.bit_depth_chroma == 0); av_assert0 932 libavcodec/h264.c av_assert0(pics <= MAX_DELAYED_PIC_COUNT); av_assert0 1645 libavcodec/h264.c av_assert0(next_avc - buf_index + consumed == nalsize); av_assert0 1849 libavcodec/h264.c av_assert0(buf_index <= buf_size); av_assert0 1913 libavcodec/h264.c av_assert0(pict->buf[0] || !*got_frame); av_assert0 363 libavcodec/h264_cavlc.c av_assert0(offset == FF_ARRAY_ELEMS(coeff_token_vlc_tables)); av_assert0 72 libavcodec/h264_picture.c av_assert0(!dst->f.buf[0]); av_assert0 73 libavcodec/h264_picture.c av_assert0(src->f.buf[0]); av_assert0 79 libavcodec/h264_refs.c av_assert0(index < def_len); av_assert0 84 libavcodec/h264_refs.c av_assert0(index < def_len); av_assert0 132 libavcodec/h264_refs.c av_assert0(len <= 32); av_assert0 139 libavcodec/h264_refs.c av_assert0(len <= 32); av_assert0 163 libavcodec/h264_refs.c av_assert0(len <= 32); av_assert0 337 libavcodec/h264_refs.c av_assert0(av_buffer_get_ref_count(h->ref_list[list][index].f.buf[0]) > 0); av_assert0 664 libavcodec/h264_refs.c av_assert0(!h->cur_pic_ptr->long_ref); av_assert0 216 libavcodec/h264_slice.c av_assert0(!pic->f.data[0]); av_assert0 232 libavcodec/h264_slice.c av_assert0(!pic->hwaccel_picture_private); av_assert0 536 libavcodec/h264_slice.c av_assert0((void*)&h->cabac == &h->mb_padding + 1); av_assert0 1119 libavcodec/h264_slice.c av_assert0(h->sps.crop_right + h->sps.crop_left < (unsigned)h->width); av_assert0 1120 libavcodec/h264_slice.c av_assert0(h->sps.crop_top + h->sps.crop_bottom < (unsigned)h->height); av_assert0 2403 libavcodec/h264_slice.c av_assert0(h->block_offset[15] == (4 * ((scan8[15] - scan8[0]) & 7) << h->pixel_shift) + 4 * h->linesize * ((scan8[15] - scan8[0]) >> 3)); av_assert0 2600 libavcodec/h264_slice.c av_assert0(h->mb_y < h->mb_height); av_assert0 2611 libavcodec/h264_slice.c av_assert0(context_count > 0); av_assert0 150 libavcodec/h264dsp.c av_assert0(bit_depth<=8); av_assert0 590 libavcodec/h264pred.c av_assert0(bit_depth<=8); av_assert0 116 libavcodec/hevc_refs.c av_assert0(!frame->hwaccel_picture_private); av_assert0 144 libavcodec/huffyuvdec.c av_assert0(i < (1 << VLC_BITS)); av_assert0 179 libavcodec/huffyuvdec.c av_assert0(i < (1 << VLC_BITS)); av_assert0 395 libavcodec/huffyuvdec.c av_assert0(s->bgr32); av_assert0 178 libavcodec/huffyuvenc.c av_assert0(val < 32 && val >0 && repeat < 256 && repeat>0); av_assert0 46 libavcodec/imgconvert.c av_assert0(desc); av_assert0 696 libavcodec/intrax8.c av_assert0(s->mb_width>0); av_assert0 720 libavcodec/ituh263enc.c av_assert0(MAX_LEVEL >= 64); av_assert0 721 libavcodec/ituh263enc.c av_assert0(MAX_RUN >= 63); av_assert0 90 libavcodec/ivi_common.c av_assert0(offs >= 0 && ref_offs >= 0 && band->ref_buf); av_assert0 91 libavcodec/ivi_common.c av_assert0(buf_size - min_size >= offs); av_assert0 92 libavcodec/ivi_common.c av_assert0(buf_size - min_size - ref_size >= ref_offs); av_assert0 45 libavcodec/jpeg2000.c av_assert0(res + 1 < INT32_MAX); av_assert0 1062 libavcodec/jpeg2000dec.c av_assert0(width <= JPEG2000_MAX_CBLKW); av_assert0 1063 libavcodec/jpeg2000dec.c av_assert0(height <= JPEG2000_MAX_CBLKH); av_assert0 33 libavcodec/kbdwin.c av_assert0(n <= FF_KBD_WINDOW_MAX); av_assert0 132 libavcodec/lclenc.c av_assert0(avctx->width && avctx->height); 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 626 libavcodec/libvpxenc.c av_assert0(!ctx->coded_frame_list); av_assert0 681 libavcodec/libvpxenc.c av_assert0(!ctx->have_sse); av_assert0 681 libavcodec/libxvid.c av_assert0(xvid_enc_create.num_plugins + (!!x->ssim) + (!!x->variance_aq) + (!!x->lumi_aq) <= FF_ARRAY_ELEMS(plugins)); av_assert0 257 libavcodec/loco.c av_assert0(0); av_assert0 185 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 58 libavcodec/mjpegdec.c av_assert0(nb_codes <= 256); av_assert0 425 libavcodec/mjpegdec.c av_assert0(s->nb_components == 3); av_assert0 438 libavcodec/mjpegdec.c av_assert0(s->nb_components == 4); av_assert0 456 libavcodec/mjpegdec.c av_assert0(s->nb_components == 4); av_assert0 1029 libavcodec/mjpegdec.c av_assert0(nb_components>=1 && nb_components<=4); av_assert0 1321 libavcodec/mjpegdec.c av_assert0(ss>=0 && Ah>=0 && Al>=0); av_assert0 1388 libavcodec/mjpegdec.c av_assert0(s->picture_ptr->data[0]); av_assert0 1478 libavcodec/mjpegdec.c av_assert0(s->picture_ptr == s->picture); av_assert0 1499 libavcodec/mjpegdec.c av_assert0(s->picture_ptr == s->picture); av_assert0 2134 libavcodec/mjpegdec.c av_assert0(avctx->pix_fmt == AV_PIX_FMT_YUVJ444P || av_assert0 2160 libavcodec/mjpegdec.c av_assert0(w > 0); av_assert0 2176 libavcodec/mjpegdec.c av_assert0(avctx->pix_fmt == AV_PIX_FMT_YUVJ444P || av_assert0 208 libavcodec/mjpegenc_common.c default: av_assert0(0); av_assert0 265 libavcodec/mjpegenc_common.c default: av_assert0(0); av_assert0 273 libavcodec/mjpegenc_common.c av_assert0(avctx->codec->priv_data_size == sizeof(MpegEncContext)); av_assert0 662 libavcodec/mlpdec.c av_assert0(filter < 2); av_assert0 902 libavcodec/motion_est.c av_assert0(s->quarter_sample==0 || s->quarter_sample==1); av_assert0 903 libavcodec/motion_est.c av_assert0(s->linesize == c->stride); av_assert0 904 libavcodec/motion_est.c av_assert0(s->uvlinesize == c->uvstride); av_assert0 1082 libavcodec/motion_est.c av_assert0(s->quarter_sample==0 || s->quarter_sample==1); av_assert0 1677 libavcodec/motion_est.c av_assert0(s->pict_type==AV_PICTURE_TYPE_P); av_assert0 1681 libavcodec/motion_est.c av_assert0(range <= 16 || !s->msmpeg4_version); av_assert0 1682 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 91 libavcodec/movtextenc.c av_assert0(s->end >= s->ptr); av_assert0 99 libavcodec/movtextenc.c av_assert0(s->end >= s->ptr); av_assert0 82 libavcodec/mpeg12.c av_assert0(static_size <= FF_ARRAY_ELEMS(table)); av_assert0 967 libavcodec/mpeg12dec.c av_assert0(!s->progressive_sequence); av_assert0 1745 libavcodec/mpeg12dec.c av_assert0(mb_y < s->mb_height); av_assert0 2422 libavcodec/mpeg12dec.c av_assert0(avctx->thread_count > 1); av_assert0 2693 libavcodec/mpeg12dec.c av_assert0(avctx->thread_count > 1); av_assert0 378 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 760 libavcodec/mpeg12enc.c av_assert0(s->mb_skip_run == 0); av_assert0 1114 libavcodec/mpeg4videoenc.c av_assert0(time_incr >= 0); av_assert0 1202 libavcodec/mpeg4videoenc.c av_assert0(MAX_LEVEL >= 64); av_assert0 1203 libavcodec/mpeg4videoenc.c av_assert0(MAX_RUN >= 63); av_assert0 316 libavcodec/mpegaudiodec_template.c av_assert0(offset == FF_ARRAY_ELEMS(huff_vlc_tables)); av_assert0 327 libavcodec/mpegaudiodec_template.c av_assert0(offset == FF_ARRAY_ELEMS(huff_quad_vlc_tables)); av_assert0 1621 libavcodec/mpegaudiodec_template.c av_assert0(s->frame); av_assert0 598 libavcodec/mpegaudioenc_template.c av_assert0(*padding >= 0); av_assert0 662 libavcodec/mpegvideo.c av_assert0(pic->f->data[0]); av_assert0 665 libavcodec/mpegvideo.c av_assert0(!pic->f->buf[0]); av_assert0 780 libavcodec/mpegvideo.c av_assert0(!dst->f->buf[0]); av_assert0 781 libavcodec/mpegvideo.c av_assert0(src->f->buf[0]); av_assert0 954 libavcodec/mpegvideo.c av_assert0(s != s1); av_assert0 994 libavcodec/mpegvideo.c av_assert0(!s->picture || s->picture != s1->picture); av_assert0 1641 libavcodec/mpegvideo.c av_assert0(static_size <= FF_ARRAY_ELEMS(table)); av_assert0 1956 libavcodec/mpegvideo.c av_assert0(s->pict_type == AV_PICTURE_TYPE_I || (s->last_picture_ptr && av_assert0 2540 libavcodec/mpegvideo.c av_assert0(ref->size >= offset + s->mb_stride * ((f->height+15)/16)); av_assert0 1286 libavcodec/mpegvideo_enc.c av_assert0(scale >= 0 && scale <= 3); av_assert0 1753 libavcodec/mpegvideo_enc.c av_assert0(s->pb.buf == avctx->internal->byte_buffer); av_assert0 1811 libavcodec/mpegvideo_enc.c av_assert0(s->avctx->rc_max_rate); av_assert0 1887 libavcodec/mpegvideo_enc.c av_assert0(vbv_delay < 0xFFFF); av_assert0 2518 libavcodec/mpegvideo_enc.c av_assert0(s->linesize >= 32); //FIXME av_assert0 3726 libavcodec/mpegvideo_enc.c av_assert0(0); av_assert0 293 libavcodec/msmpeg4enc.c av_assert0(s->flipflop_rounding==0); av_assert0 433 libavcodec/mss2.c av_assert0(f->linesize[1] == f->linesize[2]); av_assert0 479 libavcodec/mss2.c av_assert0(FF_INPUT_BUFFER_PADDING_SIZE >= av_assert0 603 libavcodec/mss2.c av_assert0(frame->linesize[0] == ctx->last_pic->linesize[0]); av_assert0 168 libavcodec/nvenc.c av_assert0(queue); av_assert0 169 libavcodec/nvenc.c av_assert0(queue->size); av_assert0 170 libavcodec/nvenc.c av_assert0(queue->data); av_assert0 1004 libavcodec/nvenc.c av_assert0(inSurf); av_assert0 1167 libavcodec/nvenc.c av_assert0(tmpoutsurf->input_surface->lockCount); av_assert0 140 libavcodec/options.c av_assert0(ret >= 0); av_assert0 239 libavcodec/options.c av_assert0(dest->subtitle_header_size == src->subtitle_header_size); av_assert0 170 libavcodec/parser.c av_assert0(index > -0x20000000); // The API does not allow returning AVERROR codes av_assert0 169 libavcodec/pngenc.c av_assert0(bpp || !pred); av_assert0 313 libavcodec/pthread_frame.c av_assert0(p->avctx->codec_type == AVMEDIA_TYPE_VIDEO || av_assert0 74 libavcodec/put_bits.h av_assert0(8*buffer_size > s->size_in_bits); av_assert0 205 libavcodec/ratecontrol.c av_assert0(picture_number >= 0); av_assert0 206 libavcodec/ratecontrol.c av_assert0(picture_number < rcc->num_entries); av_assert0 482 libavcodec/ratecontrol.c av_assert0(qmin <= qmax); av_assert0 783 libavcodec/ratecontrol.c av_assert0(picture_number >= 0); av_assert0 818 libavcodec/ratecontrol.c av_assert0(pict_type == rce->new_pict_type); av_assert0 857 libavcodec/ratecontrol.c av_assert0(q > 0.0); av_assert0 859 libavcodec/ratecontrol.c av_assert0(q > 0.0); av_assert0 870 libavcodec/ratecontrol.c av_assert0(q > 0.0); av_assert0 876 libavcodec/ratecontrol.c av_assert0(q > 0.0); av_assert0 975 libavcodec/ratecontrol.c av_assert0(filter_size % 2 == 1); av_assert0 1047 libavcodec/ratecontrol.c av_assert0(toobig <= 40); av_assert0 217 libavcodec/rawdec.c av_assert0(avctx->bits_per_coded_sample == 2); av_assert0 457 libavcodec/rv10.c av_assert0(s->pict_type != AV_PICTURE_TYPE_B || !s->low_delay); av_assert0 43 libavcodec/rv20enc.c av_assert0(s->f_code == 1); av_assert0 44 libavcodec/rv20enc.c av_assert0(s->unrestricted_mv == 0); av_assert0 45 libavcodec/rv20enc.c av_assert0(s->alt_inter_vlc == 0); av_assert0 46 libavcodec/rv20enc.c av_assert0(s->umvplus == 0); av_assert0 47 libavcodec/rv20enc.c av_assert0(s->modified_quant==1); av_assert0 48 libavcodec/rv20enc.c av_assert0(s->loop_filter==1); 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 480 libavcodec/snowdec.c av_assert0(!s->avmv); av_assert0 256 libavcodec/snowenc.c av_assert0(sizeof(s->block_state) >= 256); av_assert0 1501 libavcodec/snowenc.c av_assert0(coef_sum < INT_MAX); av_assert0 1635 libavcodec/snowenc.c av_assert0(s->current_picture->data[0]); av_assert0 1636 libavcodec/snowenc.c av_assert0(s->last_picture[0]->data[0]); av_assert0 1773 libavcodec/snowenc.c av_assert0(b->parent==NULL || b->parent->stride == b->stride*2); av_assert0 196 libavcodec/svq1dec.c av_assert0(stages >= 0); av_assert0 259 libavcodec/svq1dec.c av_assert0(stages >= 0); av_assert0 163 libavcodec/svq1enc.c av_assert0(best_vector_mean != -999); av_assert0 517 libavcodec/tiff.c av_assert0(width <= bytes_per_row); av_assert0 518 libavcodec/tiff.c av_assert0(s->bpp == 24); av_assert0 131 libavcodec/tiffenc.c av_assert0(s->num_entries < TIFF_MAX_ENTRY); av_assert0 597 libavcodec/utils.c default: av_assert0(0); av_assert0 629 libavcodec/utils.c av_assert0(frame->nb_extended_buf == 0); av_assert0 697 libavcodec/utils.c av_assert0(desc->flags & AV_PIX_FMT_FLAG_PLANAR); av_assert0 1043 libavcodec/utils.c av_assert0(avctx->codec_type == AVMEDIA_TYPE_VIDEO); av_assert0 1088 libavcodec/utils.c av_assert0(s->codec_type == AVMEDIA_TYPE_VIDEO); av_assert0 1095 libavcodec/utils.c av_assert0(0); av_assert0 1203 libavcodec/utils.c av_assert0(n >= 1); av_assert0 1237 libavcodec/utils.c av_assert0(choices[n] != AV_PIX_FMT_NONE); av_assert0 1695 libavcodec/utils.c av_assert0(*(const AVClass **)avctx->priv_data == codec->priv_class); av_assert0 1733 libavcodec/utils.c av_assert0(!avpkt->data || avpkt->data != avctx->internal->byte_buffer); av_assert0 2118 libavcodec/utils.c av_assert0(avctx->codec->encode2); av_assert0 2121 libavcodec/utils.c av_assert0(ret <= 0); av_assert0 2419 libavcodec/utils.c av_assert0(!picture->extended_data || picture->extended_data == picture->data); av_assert0 2652 libavcodec/utils.c av_assert0(cd != (iconv_t)-1); av_assert0 3181 libavcodec/utils.c av_assert0(AV_CODEC_ID_PCM_S8_PLANAR==65563); av_assert0 3182 libavcodec/utils.c av_assert0(AV_CODEC_ID_ADPCM_G722==69660); av_assert0 3184 libavcodec/utils.c av_assert0(AV_CODEC_ID_SRT==94216); av_assert0 3185 libavcodec/utils.c av_assert0(LIBAVCODEC_VERSION_MICRO >= 100); av_assert0 3187 libavcodec/utils.c av_assert0(CODEC_ID_CLLC == AV_CODEC_ID_CLLC); av_assert0 3188 libavcodec/utils.c av_assert0(CODEC_ID_PCM_S8_PLANAR == AV_CODEC_ID_PCM_S8_PLANAR); av_assert0 3189 libavcodec/utils.c av_assert0(CODEC_ID_ADPCM_IMA_APC == AV_CODEC_ID_ADPCM_IMA_APC); av_assert0 3190 libavcodec/utils.c av_assert0(CODEC_ID_ILBC == AV_CODEC_ID_ILBC); av_assert0 3191 libavcodec/utils.c av_assert0(CODEC_ID_SRT == AV_CODEC_ID_SRT); av_assert0 3612 libavcodec/utils.c av_assert0(!ff_avcodec_locked); av_assert0 3619 libavcodec/utils.c av_assert0(ff_avcodec_locked); av_assert0 3666 libavcodec/utils.c av_assert0(!dst->progress); av_assert0 3786 libavcodec/utils.c av_assert0(p <= end); av_assert0 881 libavcodec/vc1.c av_assert0( v->s.mb_height == v->s.height + 15 >> 4 av_assert0 268 libavcodec/vc1_block.c av_assert0(index < esc); av_assert0 360 libavcodec/vc1_mc.c av_assert0(0); av_assert0 693 libavcodec/vc1_pred.c av_assert0(!v->field_mode); av_assert0 930 libavcodec/vc1dec.c av_assert0 (mb_height > 0); av_assert0 941 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 149 libavcodec/vda_h264_dec.c av_assert0(count < 4); av_assert0 291 libavcodec/vdpau.c av_assert0(sizeof(hwctx->info) <= sizeof(pic_ctx->info)); av_assert0 193 libavcodec/vmdaudio.c av_assert0(avctx->block_align * silent_chunks <= frame->nb_samples * avctx->channels); av_assert0 207 libavcodec/vmdaudio.c av_assert0((buf_size & (avctx->channels > 1)) == 0); av_assert0 1342 libavcodec/vorbisdec.c av_assert0(vr->classifications > 1); //needed for inverse[] av_assert0 203 libavcodec/vorbisenc.c av_assert0(rc->type == 2); av_assert0 886 libavcodec/vorbisenc.c av_assert0(rc->type == 2); av_assert0 887 libavcodec/vorbisenc.c av_assert0(real_ch == 2); av_assert0 420 libavcodec/vp3.c av_assert0(filter_limit < 128U); av_assert0 318 libavcodec/vp9.c av_assert0(w > 0 && h > 0); av_assert0 3159 libavcodec/vp9.c av_assert0(0); av_assert0 2819 libavcodec/wavpackenc.c av_assert0(!bytestream2_get_eof(&pb)); av_assert0 1073 libavcodec/webp.c av_assert0(size <= 1024U); av_assert0 76 libavcodec/wmaenc.c av_assert0(0); av_assert0 156 libavcodec/wmaenc.c av_assert0(last_exp - 10 >= 0 && last_exp - 10 < 32); av_assert0 189 libavcodec/wmaenc.c av_assert0(0); // FIXME not implemented av_assert0 234 libavcodec/wmaenc.c av_assert0(0); // FIXME not implemented av_assert0 289 libavcodec/wmaenc.c av_assert0(0); // FIXME not implemented av_assert0 295 libavcodec/wmaenc.c av_assert0(0); // FIXME not implemented av_assert0 348 libavcodec/wmaenc.c av_assert0(0); // FIXME not implemented av_assert0 398 libavcodec/wmaenc.c av_assert0((put_bits_count(&s->pb) & 7) == 0); av_assert0 400 libavcodec/wmaenc.c av_assert0(i>=0); av_assert0 405 libavcodec/wmaenc.c av_assert0(put_bits_ptr(&s->pb) - s->pb.buf == avctx->block_align); av_assert0 232 libavcodec/wmalosslessdec.c av_assert0(s->samples_per_frame <= WMALL_BLOCK_MAX_SIZE); av_assert0 457 libavcodec/wmaprodec.c av_assert0(v < MAX_BANDS); av_assert0 1197 libavcodec/wmaprodec.c av_assert0(s->subframe_len <= WMAPRO_BLOCK_MAX_SIZE); av_assert0 1212 libavcodec/wmaprodec.c av_assert0(num_vec_coeffs + offset <= FF_ARRAY_ELEMS(s->channel[c].out)); av_assert0 1495 libavcodec/wmaprodec.c av_assert0(len <= put_bits_left(&s->pb)); av_assert0 781 libavcodec/wmavoice.c av_assert0(size <= MAX_FRAMESIZE / 2); av_assert0 1250 libavcodec/wmavoice.c av_assert0(size <= MAX_FRAMESIZE); av_assert0 1286 libavcodec/wmavoice.c av_assert0(size <= MAX_FRAMESIZE / 2); av_assert0 90 libavcodec/wmv2enc.c av_assert0(s->flipflop_rounding); av_assert0 93 libavcodec/wmv2enc.c av_assert0(s->no_rounding == 1); 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 200 libavcodec/xfaceenc.c av_assert0(b.nb_words < XFACE_MAX_WORDS); av_assert0 204 libavcodec/xfaceenc.c av_assert0(i < sizeof(intbuf)); av_assert0 336 libavdevice/alsa-audio-common.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 1011 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 400 libavdevice/v4l2.c av_assert0(0); av_assert0 521 libavdevice/v4l2.c av_assert0(avpriv_atomic_int_get(&s->buffers_queued) >= 1); av_assert0 811 libavdevice/v4l2.c av_assert0(*codec_id != AV_CODEC_ID_NONE); av_assert0 113 libavfilter/af_amix.c av_assert0(info); av_assert0 145 libavfilter/af_amix.c av_assert0(frame_list->end); av_assert0 325 libavfilter/af_amix.c av_assert0(s->nb_inputs > 1); av_assert0 347 libavfilter/af_amix.c av_assert0(s->nb_inputs > 1); av_assert0 425 libavfilter/af_amix.c av_assert0(s->frame_list->nb_frames > 0); av_assert0 117 libavfilter/af_apad.c av_assert0(outsamplesref->sample_rate == outlink->sample_rate); av_assert0 118 libavfilter/af_apad.c av_assert0(outsamplesref->nb_samples == n_out); av_assert0 125 libavfilter/af_aphaser.c av_assert0(channels > 0); \ av_assert0 228 libavfilter/af_aphaser.c default: av_assert0(0); av_assert0 163 libavfilter/af_aresample.c av_assert0(outlink->sample_rate == out_rate); av_assert0 164 libavfilter/af_aresample.c av_assert0(outlink->channel_layout == out_layout || !outlink->channel_layout); av_assert0 165 libavfilter/af_aresample.c av_assert0(outlink->format == out_format); av_assert0 272 libavfilter/af_atempo.c av_assert0(pot <= atempo->window); av_assert0 443 libavfilter/af_atempo.c av_assert0(read_size <= atempo->ring); av_assert0 492 libavfilter/af_atempo.c av_assert0(atempo->position[0] <= stop_here); av_assert0 540 libavfilter/af_atempo.c av_assert0(zeros != nsamples); av_assert0 558 libavfilter/af_atempo.c av_assert0(nsamples <= zeros + na + nb); av_assert0 796 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 266 libavfilter/af_biquads.c av_assert0(0); av_assert0 364 libavfilter/af_biquads.c av_assert0(0); av_assert0 383 libavfilter/af_biquads.c default: av_assert0(0); av_assert0 306 libavfilter/af_compand.c av_assert0(channels > 0); av_assert0 90 libavfilter/af_join.c av_assert0(i < ctx->nb_inputs); av_assert0 91 libavfilter/af_join.c av_assert0(!s->input_frames[i]); av_assert0 351 libavfilter/af_replaygain.c av_assert0(i < FF_ARRAY_ELEMS(freqinfos)); av_assert0 240 libavfilter/af_resample.c av_assert0(!avresample_available(s->avr)); av_assert0 111 libavfilter/af_volumedetect.c av_assert0(power <= 0x8000 * 0x8000); av_assert0 47 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 98 libavfilter/audio.c av_assert0(channels); av_assert0 99 libavfilter/audio.c av_assert0(channel_layout == 0 || av_assert0 93 libavfilter/avcodec.c av_assert0(src); av_assert0 104 libavfilter/avcodec.c av_assert0(src->video); av_assert0 114 libavfilter/avcodec.c av_assert0(src->audio); av_assert0 235 libavfilter/avf_showspectrum.c av_assert0(0); av_assert0 314 libavfilter/avf_showspectrum.c av_assert0(insamples->nb_samples == win_size); av_assert0 362 libavfilter/avf_showspectrum.c av_assert0(0); av_assert0 372 libavfilter/avf_showspectrum.c av_assert0(0); av_assert0 409 libavfilter/avf_showspectrum.c av_assert0(0); av_assert0 496 libavfilter/avf_showspectrum.c av_assert0(insamples->nb_samples <= win_size); av_assert0 75 libavfilter/avfilter.c av_assert0(LIBAVFILTER_VERSION_MICRO >= 100); av_assert0 159 libavfilter/avfilter.c av_assert0(AV_PIX_FMT_NONE == -1 && AV_SAMPLE_FMT_NONE == -1); av_assert0 350 libavfilter/avfilter.c av_assert0(!link->frame_requested); av_assert0 367 libavfilter/avfilter.c av_assert0(!link->frame_requested || av_assert0 507 libavfilter/avfilter.c av_assert0((filter->flags & AVFILTER_FLAG_SUPPORT_TIMELINE) != AVFILTER_FLAG_SUPPORT_TIMELINE); av_assert0 511 libavfilter/avfilter.c av_assert0( !input->filter_frame av_assert0 567 libavfilter/avfiltergraph.c av_assert0( inlink-> in_formats->refcount > 0); av_assert0 568 libavfilter/avfiltergraph.c av_assert0( inlink->out_formats->refcount > 0); av_assert0 569 libavfilter/avfiltergraph.c av_assert0(outlink-> in_formats->refcount > 0); av_assert0 570 libavfilter/avfiltergraph.c av_assert0(outlink->out_formats->refcount > 0); av_assert0 572 libavfilter/avfiltergraph.c av_assert0( inlink-> in_samplerates->refcount > 0); av_assert0 573 libavfilter/avfiltergraph.c av_assert0( inlink->out_samplerates->refcount > 0); av_assert0 574 libavfilter/avfiltergraph.c av_assert0(outlink-> in_samplerates->refcount > 0); av_assert0 575 libavfilter/avfiltergraph.c av_assert0(outlink->out_samplerates->refcount > 0); av_assert0 576 libavfilter/avfiltergraph.c av_assert0( inlink-> in_channel_layouts->refcount > 0); av_assert0 577 libavfilter/avfiltergraph.c av_assert0( inlink->out_channel_layouts->refcount > 0); av_assert0 578 libavfilter/avfiltergraph.c av_assert0(outlink-> in_channel_layouts->refcount > 0); av_assert0 579 libavfilter/avfiltergraph.c av_assert0(outlink->out_channel_layouts->refcount > 0); av_assert0 956 libavfilter/avfiltergraph.c av_assert0(best_idx >= 0); av_assert0 1025 libavfilter/avfiltergraph.c av_assert0(best_idx >= 0); av_assert0 1158 libavfilter/avfiltergraph.c av_assert0(n == sink_links_count); av_assert0 1283 libavfilter/avfiltergraph.c av_assert0(index >= 0); av_assert0 1302 libavfilter/avfiltergraph.c av_assert0(index >= 0); av_assert0 108 libavfilter/buffer.c av_assert0(ref->buf->refcount > 0); av_assert0 101 libavfilter/bufferqueue.h av_assert0(queue->available); av_assert0 346 libavfilter/buffersink.c av_assert0( !strcmp(ctx->filter->name, "buffersink") av_assert0 358 libavfilter/buffersink.c av_assert0( !strcmp(ctx->filter->name, "buffersink") av_assert0 369 libavfilter/buffersink.c av_assert0( !strcmp(ctx->filter->name, "buffersink") av_assert0 34 libavfilter/dualinput.c av_assert0(mainpic); av_assert0 289 libavfilter/f_ebur128.c av_assert0(ebur128->graph.h == ebur128->gauge.h); av_assert0 130 libavfilter/f_interleave.c av_assert0(0); av_assert0 113 libavfilter/fifo.c av_assert0(frame->nb_samples > offset); av_assert0 204 libavfilter/fifo.c av_assert0(s->root.next); // If ff_request_frame() succeeded then we should have a frame av_assert0 240 libavfilter/fifo.c av_assert0(fifo->root.next); av_assert0 63 libavfilter/framesync.c av_assert0(level <= fs->sync_level); av_assert0 182 libavfilter/framesync.c av_assert0(!fs->in[in].have_next); av_assert0 211 libavfilter/framesync.c av_assert0(!fs->frame_ready); av_assert0 276 libavfilter/framesync.c av_assert0(fs->on_event); av_assert0 49 libavfilter/generate_wave_table.c av_assert0(0); av_assert0 79 libavfilter/generate_wave_table.c av_assert0(0); av_assert0 323 libavfilter/trim.c av_assert0(start_sample < end_sample || (start_sample == end_sample && !frame->nb_samples)); av_assert0 194 libavfilter/vf_curves.c av_assert0(last); av_assert0 283 libavfilter/vf_curves.c av_assert0(point->next); // always at least 2 key points av_assert0 297 libavfilter/vf_curves.c av_assert0(x_start >= 0 && x_start <= 255 && av_assert0 497 libavfilter/vf_dctdnoiz.c av_assert0(0); av_assert0 582 libavfilter/vf_dctdnoiz.c default: av_assert0(0); av_assert0 588 libavfilter/vf_dctdnoiz.c default: av_assert0(0); av_assert0 89 libavfilter/vf_edgedetect.c av_assert0(0); av_assert0 192 libavfilter/vf_fade.c else av_assert0(0); av_assert0 638 libavfilter/vf_fieldmatch.c default: av_assert0(0); av_assert0 694 libavfilter/vf_fieldmatch.c av_assert0(prv && src && nxt); \ av_assert0 711 libavfilter/vf_fieldmatch.c av_assert0(order == 0 || order == 1 || field == 0 || field == 1); av_assert0 780 libavfilter/vf_fieldmatch.c av_assert0(0); av_assert0 605 libavfilter/vf_fspp.c av_assert0(w * h <= fspp->non_b_qp_alloc_size); av_assert0 121 libavfilter/vf_histogram.c av_assert0(0); av_assert0 176 libavfilter/vf_histogram.c av_assert0(0); av_assert0 342 libavfilter/vf_histogram.c av_assert0(0); av_assert0 439 libavfilter/vf_hqx.c av_assert0(0); av_assert0 145 libavfilter/vf_interlace.c av_assert0(cols >= 0 || lines >= 0); av_assert0 505 libavfilter/vf_lut3d.c av_assert0(0); av_assert0 734 libavfilter/vf_lut3d.c av_assert0(w == h && w == size); av_assert0 96 libavfilter/vf_mergeplanes.c av_assert0(s->nb_inputs && s->nb_inputs <= 4); av_assert0 255 libavfilter/vf_overlay.c av_assert0(0); av_assert0 217 libavfilter/vf_palettegen.c av_assert0(box->len >= 1); av_assert0 218 libavfilter/vf_palettegen.c av_assert0(new_box->len >= 1); av_assert0 252 libavfilter/vf_palettegen.c av_assert0(s->nb_boxes < 256); av_assert0 207 libavfilter/vf_perspective.c av_assert0(0); av_assert0 203 libavfilter/vf_phase.c av_assert0(0); av_assert0 109 libavfilter/vf_pp.c default: av_assert0(0); av_assert0 390 libavfilter/vf_spp.c av_assert0(w * h <= spp->non_b_qp_alloc_size); av_assert0 611 libavfilter/vf_stereo3d.c av_assert0(0); av_assert0 376 libavfilter/vf_tinterlace.c av_assert0(0); av_assert0 359 libavfilter/vf_uspp.c av_assert0(avctx_enc->codec); av_assert0 410 libavfilter/vf_uspp.c av_assert0(w * h <= uspp->non_b_qp_alloc_size); av_assert0 317 libavfilter/vf_yadif.c av_assert0(frame); av_assert0 300 libavfilter/vsrc_testsrc.c av_assert0(w == h && w == level*level*level); av_assert0 850 libavfilter/vsrc_testsrc.c av_assert0(x + w <= test->w); av_assert0 851 libavfilter/vsrc_testsrc.c av_assert0(y + h <= test->h); av_assert0 63 libavformat/ac3dec.c av_assert0(phdr->frame_size <= sizeof(buf3)); av_assert0 1178 libavformat/asfdec.c av_assert0(asf_st); av_assert0 704 libavformat/asfenc.c av_assert0(padsize >= 0); av_assert0 743 libavformat/asfenc.c av_assert0(asf->packet_timestamp_end >= asf->packet_timestamp_start); av_assert0 755 libavformat/asfenc.c av_assert0(packet_hdr_size <= asf->packet_size_left); av_assert0 927 libavformat/asfenc.c av_assert0(pts != AV_NOPTS_VALUE); av_assert0 114 libavformat/au.c av_assert0(id >= 23 && id < 23 + 4); av_assert0 632 libavformat/avidec.c av_assert0(stream_index < s->nb_streams); av_assert0 1345 libavformat/avidec.c av_assert0(best_ast->remaining <= best_ast->packet_size); av_assert0 1753 libavformat/avidec.c av_assert0(stream_index >= 0); av_assert0 1809 libavformat/avidec.c av_assert0(fabs(av_q2d(st2->time_base) - ast2->scale / (double)ast2->rate) < av_q2d(st2->time_base) * 0.00000001); av_assert0 138 libavformat/avienc.c av_assert0(avist->frames_hdr_strm); av_assert0 150 libavformat/avienc.c av_assert0(avi->frames_hdr_all); av_assert0 471 libavformat/avienc.c av_assert0(pb->seekable); av_assert0 472 libavformat/aviobuf.c av_assert0(len >= s->orig_buffer_size); av_assert0 808 libavformat/aviobuf.c av_assert0(!s->write_flag); av_assert0 168 libavformat/cache.c av_assert0(entry->logical_pos <= c->logical_pos); av_assert0 205 libavformat/cache.c av_assert0(c->end >= c->logical_pos); av_assert0 266 libavformat/cache.c av_assert0(c->is_true_eof); av_assert0 444 libavformat/concatdec.c av_assert0(cs->out_stream_index >= 0); av_assert0 455 libavformat/concatdec.c av_assert0(pkt2.buf); 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 245 libavformat/ffmdec.c av_assert0(conf && st); av_assert0 317 libavformat/ffmenc.c av_assert0(ffm->packet_end >= ffm->packet); av_assert0 64 libavformat/flac_picture.c av_assert0(len < sizeof(mimetype)); av_assert0 552 libavformat/flvenc.c av_assert0(size); av_assert0 43 libavformat/g722.c av_assert0(st->codec->bits_per_coded_sample > 0); av_assert0 130 libavformat/gif.c av_assert0(video_enc->pix_fmt == AV_PIX_FMT_PAL8); av_assert0 213 libavformat/gxfenc.c av_assert0(size < sizeof(buffer)); av_assert0 780 libavformat/hls.c av_assert0(!pls->id3_deferred_extra); av_assert0 398 libavformat/hlsenc.c av_assert0(s->nb_streams == hls->avf->nb_streams); av_assert0 689 libavformat/iff.c av_assert0(st->codec->extradata_size >= IFF_EXTRA_VIDEO_SIZE); av_assert0 741 libavformat/iff.c av_assert0(0); av_assert0 138 libavformat/img2enc.c av_assert0(!img->split_planes); av_assert0 2250 libavformat/matroskadec.c av_assert0(size > 0); av_assert0 164 libavformat/matroskaenc.c av_assert0(bytes <= 8); av_assert0 191 libavformat/matroskaenc.c av_assert0(num < (1ULL << 56) - 1); av_assert0 198 libavformat/matroskaenc.c av_assert0(bytes >= needed_bytes); av_assert0 262 libavformat/matroskaenc.c av_assert0(size >= 2); av_assert0 458 libavformat/matroskaenc.c av_assert0(tracknum>=0 && tracknum<num_tracks); av_assert0 474 libavformat/matroskaenc.c av_assert0(tracknum>=0 && tracknum<num_tracks); av_assert0 42 libavformat/md5enc.c av_assert0(len > 0 && len <= sizeof(md5)); av_assert0 865 libavformat/movenc.c av_assert0(next_dts >= 0); av_assert0 866 libavformat/movenc.c av_assert0(next_dts <= INT_MAX); av_assert0 1539 libavformat/movenc.c av_assert0(track->mode == MODE_MOV); av_assert0 1587 libavformat/movenc.c av_assert0(track->mode == MODE_MOV || track->mode == MODE_MP4); av_assert0 2462 libavformat/movenc.c av_assert0(av_rescale_rnd(start_dts, MOV_TIMESCALE, track->timescale, AV_ROUND_DOWN) <= 0); av_assert0 187 libavformat/mp3enc.c av_assert0(best_bitrate_idx >= 0); av_assert0 874 libavformat/mpeg.c av_assert0(tmpq->nb_subs); av_assert0 873 libavformat/mpegenc.c av_assert0(payload_size - stuffing_size <= av_fifo_size(stream->fifo)); av_assert0 984 libavformat/mpegenc.c av_assert0(avail_data > 0); av_assert0 1037 libavformat/mpegenc.c av_assert0(best_i >= 0); av_assert0 1042 libavformat/mpegenc.c av_assert0(av_fifo_size(stream->fifo) > 0); av_assert0 1044 libavformat/mpegenc.c av_assert0(avail_space >= s->packet_size || ignore_constraints); av_assert0 1062 libavformat/mpegenc.c av_assert0(av_fifo_size(stream->fifo) == trailer_size); av_assert0 1090 libavformat/mpegenc.c av_assert0(stream->premux_packet); av_assert0 1195 libavformat/mpegenc.c av_assert0(av_fifo_size(stream->fifo) == 0); av_assert0 2176 libavformat/mpegts.c av_assert0(pos >= TS_PACKET_SIZE); av_assert0 927 libavformat/mpegtsenc.c av_assert0(flag); av_assert0 943 libavformat/mpegtsenc.c av_assert0(pkt[3] & 0x20); av_assert0 1322 libavformat/mpegtsenc.c av_assert0(pkt->dts != AV_NOPTS_VALUE); av_assert0 1367 libavformat/mpegtsenc.c av_assert0(!ts_st->payload_size); av_assert0 592 libavformat/mux.c av_assert0(pkt->size == UNCODED_FRAME_PACKET_SIZE); av_assert0 684 libavformat/mux.c av_assert0(pkt->size == UNCODED_FRAME_PACKET_SIZE); av_assert0 685 libavformat/mux.c av_assert0(((AVFrame *)pkt->data)->buf); av_assert0 1008 libavformat/mux.c av_assert0(s->oformat); av_assert0 1044 libavformat/mux.c av_assert0(s->oformat); av_assert0 321 libavformat/nutdec.c av_assert0(nut->frame_code['N'].flags == FLAG_INVALID); av_assert0 341 libavformat/nutdec.c av_assert0(nut->header_len[0] == 0); av_assert0 713 libavformat/nutdec.c av_assert0(n <= syncpoint_count + 1); av_assert0 800 libavformat/nutdec.c av_assert0(nut->next_startcode == SYNCPOINT_STARTCODE); av_assert0 1128 libavformat/nutdec.c av_assert0(nut->last_syncpoint_pos == *pos_arg); av_assert0 1133 libavformat/nutdec.c av_assert0(stream_index == -1); av_assert0 1189 libavformat/nutdec.c av_assert0(sp); av_assert0 616 libavformat/nutenc.c av_assert0(nus->keyframe_pts[k] > last_pts); av_assert0 766 libavformat/nutenc.c av_assert0(nut->frame_code['N'].flags == FLAG_INVALID); av_assert0 1055 libavformat/nutenc.c av_assert0(nus->last_pts != AV_NOPTS_VALUE); av_assert0 1119 libavformat/nutenc.c av_assert0(frame_code != -1); av_assert0 887 libavformat/oggdec.c av_assert0(stream_index < ogg->nstreams); av_assert0 105 libavformat/oggparseogm.c av_assert0(FF_INPUT_BUFFER_PADDING_SIZE <= 52); av_assert0 53 libavformat/pcmdec.c av_assert0(st->codec->bits_per_coded_sample > 0); av_assert0 34 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 325 libavformat/riffenc.c av_assert0(sizeof(*g) == 16); av_assert0 944 libavformat/rmdec.c av_assert0 (rm->audio_pkt_cnt > 0); av_assert0 90 libavformat/rtpdec_hevc.c av_assert0(0); av_assert0 192 libavformat/rtpdec_qdm2.c av_assert0(qdm->cache > 0); av_assert0 196 libavformat/rtpdec_qdm2.c av_assert0(n < 0x80); av_assert0 1832 libavformat/rtsp.c av_assert0(0); av_assert0 318 libavformat/segment.c av_assert0(!"Invalid list type"); av_assert0 696 libavformat/segment.c av_assert0(s->nb_streams == oc->nb_streams); av_assert0 406 libavformat/swfdec.c av_assert0(0); av_assert0 60 libavformat/swfenc.c av_assert0(tag_len < 0x3f); av_assert0 116 libavformat/uncodedframecrcenc.c av_assert0(!"reached"); av_assert0 64 libavformat/utils.c av_assert0(LIBAVFORMAT_VERSION_MICRO >= 100); av_assert0 138 libavformat/utils.c av_assert0(!dst->codec_whitelist && !dst->format_whitelist); av_assert0 674 libavformat/utils.c av_assert0(st->request_probe <= 0); av_assert0 761 libavformat/utils.c av_assert0(st->codec->ticks_per_frame); av_assert0 768 libavformat/utils.c av_assert0(s->iformat); // this may be wrong for interlaced encoding but its not used for that case av_assert0 1291 libavformat/utils.c av_assert0(*pkt_buffer); av_assert0 1708 libavformat/utils.c av_assert0(index == 0 || ie[-1].timestamp < timestamp); av_assert0 1829 libavformat/utils.c av_assert0(index < st->nb_index_entries); av_assert0 1879 libavformat/utils.c av_assert0(tmp_pos > pos_max); av_assert0 1931 libavformat/utils.c av_assert0(ts_min < ts_max); av_assert0 1938 libavformat/utils.c av_assert0(pos_limit <= pos_max); av_assert0 2041 libavformat/utils.c av_assert0(st->index_entries); av_assert0 3566 libavformat/utils.c av_assert0(s->nb_streams>0); av_assert0 3567 libavformat/utils.c av_assert0(s->streams[ s->nb_streams - 1 ] == st); av_assert0 4229 libavformat/utils.c default: av_assert0(0); av_assert0 155 libavformat/wavdec.c av_assert0(length <= sizeof(temp)); av_assert0 149 libavformat/wtvenc.c av_assert0(wctx->nb_index < MAX_NB_INDEX); av_assert0 732 libavformat/wtvenc.c av_assert0(index < WTV_FILES); av_assert0 382 libavformat/xmv.c av_assert0(xmv->video.stream_index < s->nb_streams); av_assert0 120 libavutil/atomic.c av_assert0(res == 2); av_assert0 123 libavutil/atomic.c av_assert0(res == 3); 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 374 libavutil/avstring.c av_assert0(tail_len <= 5); av_assert0 316 libavutil/bprint.c av_assert0(size < FF_ARRAY_ELEMS(p)); av_assert0 271 libavutil/imgutils.c av_assert0(abs(src_linesize) >= bytewidth); av_assert0 272 libavutil/imgutils.c av_assert0(abs(dst_linesize) >= bytewidth); av_assert0 181 libavutil/integer.c av_assert0(av_i2int(ai) == a); av_assert0 182 libavutil/integer.c av_assert0(av_i2int(bi) == b); av_assert0 183 libavutil/integer.c av_assert0(av_i2int(av_add_i(ai,bi)) == a+b); av_assert0 184 libavutil/integer.c av_assert0(av_i2int(av_sub_i(ai,bi)) == a-b); av_assert0 185 libavutil/integer.c av_assert0(av_i2int(av_mul_i(ai,bi)) == a*b); av_assert0 186 libavutil/integer.c av_assert0(av_i2int(av_shr_i(ai, 9)) == a>>9); av_assert0 187 libavutil/integer.c av_assert0(av_i2int(av_shr_i(ai,-9)) == a<<9); av_assert0 188 libavutil/integer.c av_assert0(av_i2int(av_shr_i(ai, 17)) == a>>17); av_assert0 189 libavutil/integer.c av_assert0(av_i2int(av_shr_i(ai,-17)) == a<<17); av_assert0 190 libavutil/integer.c av_assert0(av_log2_i(ai) == av_log2(a)); av_assert0 191 libavutil/integer.c av_assert0(av_i2int(av_div_i(ai,bi)) == a/b); av_assert0 89 libavutil/lzo.c av_assert0(cnt >= 0); av_assert0 121 libavutil/lzo.c av_assert0(cnt > 0); av_assert0 169 libavutil/mathematics.c av_assert0(in_ts != AV_NOPTS_VALUE); av_assert0 170 libavutil/mathematics.c av_assert0(duration >= 0); av_assert0 158 libavutil/mem.c av_assert0(diff>0 && diff<=ALIGN); av_assert0 231 libavutil/mem.c av_assert0(v>0 && v<=ALIGN); av_assert0 2097 libavutil/pixdesc.c av_assert0(d->log2_chroma_w <= 3); av_assert0 2098 libavutil/pixdesc.c av_assert0(d->log2_chroma_h <= 3); av_assert0 2099 libavutil/pixdesc.c av_assert0(d->nb_components <= 4); av_assert0 2100 libavutil/pixdesc.c av_assert0(d->name && d->name[0]); av_assert0 2101 libavutil/pixdesc.c av_assert0((d->nb_components==4 || d->nb_components==2) == !!(d->flags & AV_PIX_FMT_FLAG_ALPHA)); av_assert0 2107 libavutil/pixdesc.c av_assert0(!c->plane && !c->step_minus1 && !c->offset_plus1 && !c->shift && !c->depth_minus1); av_assert0 2111 libavutil/pixdesc.c av_assert0(c->step_minus1 >= c->depth_minus1); av_assert0 2113 libavutil/pixdesc.c av_assert0(8*(c->step_minus1+1) >= c->depth_minus1+1); av_assert0 2118 libavutil/pixdesc.c av_assert0(tmp[0] == 0 && tmp[1] == 0); av_assert0 75 libavutil/random_seed.c av_assert0(sizeof(tmp) >= av_sha_size); av_assert0 39 libavutil/utils.c av_assert0(AV_PIX_FMT_VDA_VLD == 81); //check if the pix fmt enum has not had anything inserted or removed by mistake av_assert0 40 libavutil/utils.c av_assert0(AV_SAMPLE_FMT_DBLP == 9); av_assert0 41 libavutil/utils.c av_assert0(AVMEDIA_TYPE_ATTACHMENT == 4); av_assert0 42 libavutil/utils.c av_assert0(AV_PICTURE_TYPE_BI == 7); av_assert0 43 libavutil/utils.c av_assert0(LIBAVUTIL_VERSION_MICRO >= 100); av_assert0 44 libavutil/utils.c av_assert0(HAVE_MMX2 == HAVE_MMXEXT); av_assert0 46 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 112 libavutil/utils.c default: av_assert0(!"valid element size"); av_assert0 97 libpostproc/postprocess.c av_assert0(LIBPOSTPROC_VERSION_MICRO >= 100); av_assert0 176 libswresample/audioconvert.c av_assert0(ctx->channels == out->ch_count); av_assert0 39 libswresample/dither.c av_assert0(s->dither.method < SWR_DITHER_NB); av_assert0 53 libswresample/dither.c av_assert0(s->dither.method < SWR_DITHER_NB); av_assert0 68 libswresample/dither.c default: av_assert0(0); av_assert0 122 libswresample/dither.c av_assert0(!s->preout.count); av_assert0 170 libswresample/rematrix.c av_assert0(0); av_assert0 179 libswresample/rematrix.c av_assert0(0); av_assert0 206 libswresample/rematrix.c av_assert0(0); av_assert0 239 libswresample/rematrix.c av_assert0(0); av_assert0 275 libswresample/rematrix.c av_assert0(0); av_assert0 286 libswresample/rematrix.c av_assert0(0); av_assert0 296 libswresample/rematrix.c av_assert0(0); av_assert0 406 libswresample/rematrix.c av_assert0(0); av_assert0 446 libswresample/rematrix.c av_assert0(!s->out_ch_layout || out->ch_count == av_get_channel_layout_nb_channels(s->out_ch_layout)); av_assert0 447 libswresample/rematrix.c av_assert0(!s-> in_ch_layout || in ->ch_count == av_get_channel_layout_nb_channels(s-> in_ch_layout)); av_assert0 106 libswresample/resample.c av_assert0(0); av_assert0 206 libswresample/resample.c av_assert0(0); av_assert0 353 libswresample/resample.c av_assert0(a->planar); av_assert0 54 libswresample/swresample-test.c default: av_assert0(0); av_assert0 288 libswresample/swresample-test.c av_assert0(!vector); av_assert0 342 libswresample/swresample-test.c av_assert0(mid_count==0); av_assert0 36 libswresample/swresample.c av_assert0(LIBSWRESAMPLE_VERSION_MICRO >= 100); av_assert0 268 libswresample/swresample.c av_assert0(!s->in_ch_layout); av_assert0 282 libswresample/swresample.c av_assert0(s->used_ch_count); av_assert0 283 libswresample/swresample.c av_assert0(s->out.ch_count); av_assert0 352 libswresample/swresample.c av_assert0(a->bps); av_assert0 353 libswresample/swresample.c av_assert0(a->ch_count); av_assert0 371 libswresample/swresample.c av_assert0(out->planar == in->planar); av_assert0 372 libswresample/swresample.c av_assert0(out->bps == in->bps); av_assert0 373 libswresample/swresample.c av_assert0(out->ch_count == in->ch_count); av_assert0 526 libswresample/swresample.c av_assert0(!s->resample); av_assert0 537 libswresample/swresample.c av_assert0(s->midbuf.ch_count == s->used_ch_count); av_assert0 541 libswresample/swresample.c av_assert0(s->midbuf.ch_count == s->out.ch_count); av_assert0 568 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 610 libswresample/swresample.c av_assert0(s->dither.noise.ch_count == preout->ch_count); av_assert0 679 libswresample/swresample.c av_assert0(s->drop_output); av_assert0 149 libswscale/output.c av_assert0(output_bits == 16); av_assert0 164 libswscale/output.c av_assert0(output_bits == 16); av_assert0 1886 libswscale/output.c av_assert0(0); av_assert0 451 libswscale/swscale.c av_assert0(firstLumSrcY >= lastInLumBuf - vLumBufSize + 1); av_assert0 452 libswscale/swscale.c av_assert0(firstChrSrcY >= lastInChrBuf - vChrBufSize + 1); av_assert0 480 libswscale/swscale.c av_assert0(lumBufIndex < 2 * vLumBufSize); av_assert0 481 libswscale/swscale.c av_assert0(lastInLumBuf + 1 - srcSliceY < srcSliceH); av_assert0 482 libswscale/swscale.c av_assert0(lastInLumBuf + 1 - srcSliceY >= 0); av_assert0 502 libswscale/swscale.c av_assert0(chrBufIndex < 2 * vChrBufSize); av_assert0 503 libswscale/swscale.c av_assert0(lastInChrBuf + 1 - chrSrcSliceY < (chrSrcSliceH)); av_assert0 504 libswscale/swscale.c av_assert0(lastInChrBuf + 1 - chrSrcSliceY >= 0); av_assert0 627 libswscale/swscale_internal.h av_assert0(desc); av_assert0 634 libswscale/swscale_internal.h av_assert0(desc); av_assert0 643 libswscale/swscale_internal.h av_assert0(desc); av_assert0 650 libswscale/swscale_internal.h av_assert0(desc); av_assert0 657 libswscale/swscale_internal.h av_assert0(desc); av_assert0 664 libswscale/swscale_internal.h av_assert0(desc); av_assert0 770 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 823 libswscale/swscale_internal.h av_assert0(desc); av_assert0 1279 libswscale/swscale_unscaled.c av_assert0(ALT32_CORR == 1); av_assert0 1657 libswscale/swscale_unscaled.c av_assert0(0); av_assert0 61 libswscale/utils.c av_assert0(LIBSWSCALE_VERSION_MICRO >= 100); av_assert0 368 libswscale/utils.c av_assert0(sizeFactor > 0); av_assert0 466 libswscale/utils.c av_assert0(0); av_assert0 479 libswscale/utils.c av_assert0(filterSize > 0); av_assert0 485 libswscale/utils.c av_assert0(filter2Size > 0); av_assert0 567 libswscale/utils.c av_assert0(minFilterSize > 0); av_assert0 569 libswscale/utils.c av_assert0(filterSize > 0); av_assert0 634 libswscale/utils.c av_assert0((*filterPos)[i] >= 0); av_assert0 635 libswscale/utils.c av_assert0((*filterPos)[i] < srcW); av_assert0 638 libswscale/utils.c av_assert0((*filterPos)[i] + j < srcW || !filter[i * filterSize + j]); av_assert0 953 libswscale/utils.c av_assert0(offsetof(SwsContext, redDither) + DITHER32_INT == offsetof(SwsContext, dither32)); av_assert0 1453 libswscale/utils.c av_assert0(c->dstBpc > 14); av_assert0 1460 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 125 tools/uncoded_frame.c av_assert0(st - streams == nb_streams); av_assert0 188 tools/uncoded_frame.c av_assert0(!"reached");