ff_alloc_packet2 331 libavcodec/a64multienc.c if ((ret = ff_alloc_packet2(avctx, pkt, alloc_size, 0)) < 0) ff_alloc_packet2 682 libavcodec/aacenc.c if ((ret = ff_alloc_packet2(avctx, avpkt, 8192 * s->channels, 0)) < 0) ff_alloc_packet2 427 libavcodec/ac3enc_template.c if ((ret = ff_alloc_packet2(avctx, avpkt, s->frame_size, 0)) < 0) ff_alloc_packet2 503 libavcodec/adpcmenc.c if ((ret = ff_alloc_packet2(avctx, avpkt, pkt_size, 0)) < 0) ff_alloc_packet2 151 libavcodec/adxenc.c if ((ret = ff_alloc_packet2(avctx, avpkt, 18, 0)) < 0) ff_alloc_packet2 165 libavcodec/adxenc.c if ((ret = ff_alloc_packet2(avctx, avpkt, out_size, 0)) < 0) ff_alloc_packet2 628 libavcodec/alacenc.c if ((ret = ff_alloc_packet2(avctx, avpkt, 4 * max_frame_size, 0)) < 0) ff_alloc_packet2 64 libavcodec/aliaspixenc.c if ((ret = ff_alloc_packet2(avctx, pkt, length, ALIAS_HEADER_SIZE + height*2)) < 0) { ff_alloc_packet2 217 libavcodec/aptxenc.c if ((ret = ff_alloc_packet2(avctx, avpkt, output_size, 0)) < 0) ff_alloc_packet2 264 libavcodec/asvenc.c if ((ret = ff_alloc_packet2(avctx, pkt, a->mb_height * a->mb_width * MAX_MB_SIZE + ff_alloc_packet2 539 libavcodec/audiotoolboxenc.c if ((ret = ff_alloc_packet2(avctx, avpkt, at->pkt_size, 0)) < 0) ff_alloc_packet2 65 libavcodec/avuienc.c if ((ret = ff_alloc_packet2(avctx, pkt, size, size)) < 0) ff_alloc_packet2 121 libavcodec/bmpenc.c if ((ret = ff_alloc_packet2(avctx, pkt, n_bytes, 0)) < 0) ff_alloc_packet2 1160 libavcodec/cinepakenc.c if ((ret = ff_alloc_packet2(avctx, pkt, s->frame_buf_size, 0)) < 0) ff_alloc_packet2 59 libavcodec/cljrenc.c if ((ret = ff_alloc_packet2(avctx, pkt, 32*avctx->height*avctx->width/4, 0)) < 0) ff_alloc_packet2 78 libavcodec/cngenc.c if ((ret = ff_alloc_packet2(avctx, avpkt, 1 + p->order, 1 + p->order))) { ff_alloc_packet2 1184 libavcodec/dcaenc.c if ((ret = ff_alloc_packet2(avctx, avpkt, c->frame_size, 0)) < 0) ff_alloc_packet2 1293 libavcodec/dnxhdenc.c if ((ret = ff_alloc_packet2(avctx, pkt, ctx->frame_size, 0)) < 0) ff_alloc_packet2 199 libavcodec/dpxenc.c if ((ret = ff_alloc_packet2(avctx, pkt, size + HEADER_SIZE, 0)) < 0) ff_alloc_packet2 1175 libavcodec/dvenc.c if ((ret = ff_alloc_packet2(c, pkt, s->sys->frame_size, 0)) < 0) ff_alloc_packet2 1185 libavcodec/ffv1enc.c if ((ret = ff_alloc_packet2(avctx, pkt, maxsize, 0)) < 0) ff_alloc_packet2 83 libavcodec/fitsenc.c if ((ret = ff_alloc_packet2(avctx, pkt, padded_data_size, 0)) < 0) ff_alloc_packet2 1423 libavcodec/flacenc.c if ((ret = ff_alloc_packet2(avctx, avpkt, frame_bytes, 0)) < 0) ff_alloc_packet2 859 libavcodec/flashsv2enc.c if ((res = ff_alloc_packet2(avctx, pkt, s->frame_size + AV_INPUT_BUFFER_MIN_SIZE, 0)) < 0) ff_alloc_packet2 241 libavcodec/flashsvenc.c if ((res = ff_alloc_packet2(avctx, pkt, s->image_width * s->image_height * 3, 0)) < 0) ff_alloc_packet2 356 libavcodec/g722enc.c if ((ret = ff_alloc_packet2(avctx, avpkt, out_size, 0)) < 0) ff_alloc_packet2 1186 libavcodec/g723_1enc.c if ((ret = ff_alloc_packet2(avctx, avpkt, 24, 0)) < 0) ff_alloc_packet2 356 libavcodec/g726.c if ((ret = ff_alloc_packet2(avctx, avpkt, out_size, 0)) < 0) ff_alloc_packet2 417 libavcodec/gif.c if ((ret = ff_alloc_packet2(avctx, pkt, avctx->width*avctx->height*7/5 + AV_INPUT_BUFFER_MIN_SIZE, 0)) < 0) ff_alloc_packet2 203 libavcodec/hapenc.c ret = ff_alloc_packet2(avctx, pkt, pktsize, header_length); ff_alloc_packet2 765 libavcodec/huffyuvenc.c if ((ret = ff_alloc_packet2(avctx, pkt, width * height * 3 * 4 + AV_INPUT_BUFFER_MIN_SIZE, 0)) < 0) ff_alloc_packet2 251 libavcodec/internal.h int ff_alloc_packet2(AVCodecContext *avctx, AVPacket *avpkt, int64_t size, int64_t min_size); ff_alloc_packet2 1007 libavcodec/j2kenc.c if ((ret = ff_alloc_packet2(avctx, pkt, avctx->width*avctx->height*9 + AV_INPUT_BUFFER_MIN_SIZE, 0)) < 0) ff_alloc_packet2 284 libavcodec/jpeglsenc.c if ((ret = ff_alloc_packet2(avctx, pkt, avctx->width *avctx->height * comps * 4 + ff_alloc_packet2 73 libavcodec/lclenc.c if ((ret = ff_alloc_packet2(avctx, pkt, max_size, 0)) < 0) ff_alloc_packet2 827 libavcodec/libaomenc.c int ret = ff_alloc_packet2(avctx, pkt, cx_frame->sz, 0); ff_alloc_packet2 172 libavcodec/libcodec2.c int ret = ff_alloc_packet2(avctx, avpkt, avctx->block_align, 0); ff_alloc_packet2 395 libavcodec/libfdk-aacenc.c if ((ret = ff_alloc_packet2(avctx, avpkt, FFMAX(8192, 768 * avctx->channels), 0)) < 0) ff_alloc_packet2 101 libavcodec/libgsmenc.c if ((ret = ff_alloc_packet2(avctx, avpkt, avctx->block_align, 0)) < 0) ff_alloc_packet2 169 libavcodec/libilbc.c if ((ret = ff_alloc_packet2(avctx, avpkt, 50, 0)) < 0) ff_alloc_packet2 243 libavcodec/libkvazaar.c retval = ff_alloc_packet2(avctx, avpkt, len_out, len_out); ff_alloc_packet2 267 libavcodec/libmp3lame.c if ((ret = ff_alloc_packet2(avctx, avpkt, len, 0)) < 0) ff_alloc_packet2 246 libavcodec/libopencore-amr.c if ((ret = ff_alloc_packet2(avctx, avpkt, 32, 0)) < 0) ff_alloc_packet2 408 libavcodec/libopenh264enc.c if ((ret = ff_alloc_packet2(avctx, avpkt, size, size))) { ff_alloc_packet2 664 libavcodec/libopenjpegenc.c if ((ret = ff_alloc_packet2(avctx, pkt, 1024, 0)) < 0) { ff_alloc_packet2 479 libavcodec/libopusenc.c if ((ret = ff_alloc_packet2(avctx, avpkt, (1275 * 6 + 7) * opus->stream_count, 0)) < 0) ff_alloc_packet2 105 libavcodec/libshine.c if ((ret = ff_alloc_packet2(avctx, avpkt, len, 0))) ff_alloc_packet2 297 libavcodec/libspeexenc.c if ((ret = ff_alloc_packet2(avctx, avpkt, speex_bits_nbytes(&s->bits), 0)) < 0) ff_alloc_packet2 342 libavcodec/libtheoraenc.c if ((ret = ff_alloc_packet2(avc_context, pkt, o_packet.bytes, 0)) < 0) ff_alloc_packet2 113 libavcodec/libtwolame.c if ((ret = ff_alloc_packet2(avctx, avpkt, MPA_MAX_CODED_FRAME_SIZE, 0)) < 0) ff_alloc_packet2 121 libavcodec/libvo-amrwbenc.c if ((ret = ff_alloc_packet2(avctx, avpkt, MAX_PACKET_SIZE, 0)) < 0) ff_alloc_packet2 341 libavcodec/libvorbisenc.c if ((ret = ff_alloc_packet2(avctx, avpkt, op.bytes, 0)) < 0) ff_alloc_packet2 1097 libavcodec/libvpxenc.c int ret = ff_alloc_packet2(avctx, pkt, cx_frame->sz, 0); ff_alloc_packet2 60 libavcodec/libwebpenc.c ret = ff_alloc_packet2(avctx, pkt, mw.size, mw.size); ff_alloc_packet2 70 libavcodec/libwebpenc_animencoder.c ret = ff_alloc_packet2(avctx, pkt, assembled_data.size, assembled_data.size); ff_alloc_packet2 146 libavcodec/libx264.c if ((ret = ff_alloc_packet2(ctx, pkt, size, 0)) < 0) ff_alloc_packet2 534 libavcodec/libx265.c ret = ff_alloc_packet2(avctx, pkt, payload, payload); ff_alloc_packet2 97 libavcodec/libxavs.c if ((ret = ff_alloc_packet2(ctx, pkt, size, 0)) < 0) ff_alloc_packet2 153 libavcodec/libxavs.c if ((ret = ff_alloc_packet2(avctx, pkt, 4, 0)) < 0) ff_alloc_packet2 746 libavcodec/libxvid.c if ((ret = ff_alloc_packet2(avctx, pkt, mb_width*(int64_t)mb_height*MAX_MB_BYTES + AV_INPUT_BUFFER_MIN_SIZE, 0)) < 0) ff_alloc_packet2 247 libavcodec/ljpegenc.c if ((ret = ff_alloc_packet2(avctx, pkt, max_pkt_size, 0)) < 0) ff_alloc_packet2 431 libavcodec/magicyuvenc.c ret = ff_alloc_packet2(avctx, pkt, (256 + 4 * s->nb_slices + width * height) * ff_alloc_packet2 2226 libavcodec/mlpenc.c if ((ret = ff_alloc_packet2(avctx, avpkt, 87500 * avctx->channels, 0)) < 0) ff_alloc_packet2 766 libavcodec/mpegaudioenc_template.c if ((ret = ff_alloc_packet2(avctx, avpkt, MPA_MAX_CODED_FRAME_SIZE, 0)) < 0) ff_alloc_packet2 1843 libavcodec/mpegvideo_enc.c if ((ret = ff_alloc_packet2(avctx, pkt, pkt_size, 0)) < 0) ff_alloc_packet2 79 libavcodec/msvideo1enc.c if ((ret = ff_alloc_packet2(avctx, pkt, avctx->width*avctx->height*9 + AV_INPUT_BUFFER_MIN_SIZE, 0)) < 0) ff_alloc_packet2 410 libavcodec/nellymoserenc.c if ((ret = ff_alloc_packet2(avctx, avpkt, NELLY_BLOCK_LEN, 0)) < 0) ff_alloc_packet2 1883 libavcodec/nvenc.c ff_alloc_packet2(avctx, pkt, lock_params.bitstreamSizeInBytes, lock_params.bitstreamSizeInBytes) : ff_alloc_packet2 890 libavcodec/omx.c if ((ret = ff_alloc_packet2(avctx, pkt, s->output_buf_size + buffer->nFilledLen, 0)) < 0) { ff_alloc_packet2 579 libavcodec/opusenc.c if ((ret = ff_alloc_packet2(avctx, avpkt, alloc_size, 0)) < 0) ff_alloc_packet2 94 libavcodec/pamenc.c if ((ret = ff_alloc_packet2(avctx, pkt, n*h + 200, 0)) < 0) ff_alloc_packet2 122 libavcodec/pcm-dvdenc.c if ((ret = ff_alloc_packet2(avctx, avpkt, pkt_size, 0)) < 0) ff_alloc_packet2 104 libavcodec/pcm.c if ((ret = ff_alloc_packet2(avctx, avpkt, n * sample_size, n * sample_size)) < 0) ff_alloc_packet2 148 libavcodec/pcxenc.c if ((ret = ff_alloc_packet2(avctx, pkt, max_pkt_size, 0)) < 0) ff_alloc_packet2 541 libavcodec/pngenc.c ret = ff_alloc_packet2(avctx, pkt, max_packet_size, 0); ff_alloc_packet2 890 libavcodec/pngenc.c ret = ff_alloc_packet2(avctx, pkt, max_packet_size, 0); ff_alloc_packet2 36 libavcodec/pnmenc.c if ((ret = ff_alloc_packet2(avctx, pkt, size + 200, 0)) < 0) ff_alloc_packet2 728 libavcodec/proresenc_anatoliy.c if ((ret = ff_alloc_packet2(avctx, pkt, frame_size + AV_INPUT_BUFFER_MIN_SIZE, 0)) < 0) ff_alloc_packet2 1015 libavcodec/proresenc_kostya.c if ((ret = ff_alloc_packet2(avctx, pkt, pkt_size + AV_INPUT_BUFFER_MIN_SIZE, 0)) < 0) ff_alloc_packet2 369 libavcodec/qtrleenc.c if ((ret = ff_alloc_packet2(avctx, pkt, s->max_buf_size, 0)) < 0) ff_alloc_packet2 49 libavcodec/r210enc.c if ((ret = ff_alloc_packet2(avctx, pkt, 4 * aligned_width * avctx->height, 0)) < 0) ff_alloc_packet2 450 libavcodec/ra144enc.c if ((ret = ff_alloc_packet2(avctx, avpkt, FRAME_SIZE, 0)) < 0) ff_alloc_packet2 61 libavcodec/rawenc.c if ((ret = ff_alloc_packet2(avctx, pkt, ret, ret)) < 0) ff_alloc_packet2 163 libavcodec/roqaudioenc.c if ((ret = ff_alloc_packet2(avctx, avpkt, ROQ_HEADER_SIZE + data_size, 0)) < 0) ff_alloc_packet2 1078 libavcodec/roqvideoenc.c if ((ret = ff_alloc_packet2(avctx, pkt, size, 0)) < 0) ff_alloc_packet2 86 libavcodec/s302menc.c if ((ret = ff_alloc_packet2(avctx, avpkt, buf_size, 0)) < 0) ff_alloc_packet2 293 libavcodec/sbcenc.c if ((ret = ff_alloc_packet2(avctx, avpkt, frame_length, 0)) < 0) ff_alloc_packet2 171 libavcodec/sgienc.c if ((ret = ff_alloc_packet2(avctx, pkt, bytes_per_channel * length, 0)) < 0) ff_alloc_packet2 1579 libavcodec/snowenc.c if ((ret = ff_alloc_packet2(avctx, pkt, s->b_width*s->b_height*MB_SIZE*MB_SIZE*3 + AV_INPUT_BUFFER_MIN_SIZE, 0)) < 0) ff_alloc_packet2 733 libavcodec/sonic.c if ((ret = ff_alloc_packet2(avctx, avpkt, s->frame_size * 5 + 1000, 0)) < 0) ff_alloc_packet2 194 libavcodec/sunrastenc.c if ((ret = ff_alloc_packet2(avctx, avpkt, s->size, 0)) < 0) ff_alloc_packet2 587 libavcodec/svq1enc.c if ((ret = ff_alloc_packet2(avctx, pkt, s->y_block_width * s->y_block_height * ff_alloc_packet2 94 libavcodec/targaenc.c if ((ret = ff_alloc_packet2(avctx, pkt, picsize + 45, 0)) < 0) ff_alloc_packet2 337 libavcodec/tiffenc.c if ((ret = ff_alloc_packet2(avctx, pkt, packet_size, 0)) < 0) ff_alloc_packet2 95 libavcodec/ttaenc.c if ((ret = ff_alloc_packet2(avctx, avpkt, pkt_size, 0)) < 0) ff_alloc_packet2 546 libavcodec/utvideoenc.c ret = ff_alloc_packet2(avctx, pkt, (256 + 4 * c->slices + width * height) * ff_alloc_packet2 127 libavcodec/v210enc.c ret = ff_alloc_packet2(avctx, pkt, avctx->height * stride, avctx->height * stride); ff_alloc_packet2 47 libavcodec/v308enc.c if ((ret = ff_alloc_packet2(avctx, pkt, avctx->width * avctx->height * 3, 0)) < 0) ff_alloc_packet2 42 libavcodec/v408enc.c if ((ret = ff_alloc_packet2(avctx, pkt, avctx->width * avctx->height * 4, 0)) < 0) ff_alloc_packet2 49 libavcodec/v410enc.c if ((ret = ff_alloc_packet2(avctx, pkt, avctx->width * avctx->height * 4, ff_alloc_packet2 918 libavcodec/vc2enc.c ret = ff_alloc_packet2(s->avctx, avpkt, ff_alloc_packet2 1919 libavcodec/videotoolboxenc.c status = ff_alloc_packet2(avctx, pkt, out_buf_size, out_buf_size); ff_alloc_packet2 1133 libavcodec/vorbisenc.c if ((ret = ff_alloc_packet2(avctx, avpkt, 8192, 0)) < 0) ff_alloc_packet2 2872 libavcodec/wavpackenc.c if ((ret = ff_alloc_packet2(avctx, avpkt, buf_size, 0)) < 0) ff_alloc_packet2 392 libavcodec/wmaenc.c if ((ret = ff_alloc_packet2(avctx, avpkt, 2 * MAX_CODED_SUPERFRAME_SIZE, 0)) < 0) ff_alloc_packet2 35 libavcodec/xbmenc.c if ((ret = ff_alloc_packet2(avctx, pkt, size, 0)) < 0) ff_alloc_packet2 198 libavcodec/xfaceenc.c if ((ret = ff_alloc_packet2(avctx, pkt, i+2, 0)) < 0) ff_alloc_packet2 150 libavcodec/xwdenc.c if ((ret = ff_alloc_packet2(avctx, pkt, out_size, 0)) < 0) ff_alloc_packet2 46 libavcodec/y41penc.c if ((ret = ff_alloc_packet2(avctx, pkt, avctx->width * avctx->height * 1.5, 0)) < 0) ff_alloc_packet2 38 libavcodec/yuv4enc.c if ((ret = ff_alloc_packet2(avctx, pkt, 6 * (avctx->width + 1 >> 1) * (avctx->height + 1 >> 1), 0)) < 0) ff_alloc_packet2 284 libavcodec/zmbvenc.c if ((ret = ff_alloc_packet2(avctx, pkt, pkt_size, 0)) < 0)