ff_alloc_packet2 330 libavcodec/a64multienc.c if ((ret = ff_alloc_packet2(avctx, pkt, alloc_size)) < 0) ff_alloc_packet2 588 libavcodec/aacenc.c if ((ret = ff_alloc_packet2(avctx, avpkt, 8192 * s->channels)) < 0) ff_alloc_packet2 441 libavcodec/ac3enc_template.c if ((ret = ff_alloc_packet2(avctx, avpkt, s->frame_size)) < 0) ff_alloc_packet2 489 libavcodec/adpcmenc.c if ((ret = ff_alloc_packet2(avctx, avpkt, pkt_size)) < 0) ff_alloc_packet2 149 libavcodec/adxenc.c if ((ret = ff_alloc_packet2(avctx, avpkt, out_size)) < 0) ff_alloc_packet2 621 libavcodec/alacenc.c if ((ret = ff_alloc_packet2(avctx, avpkt, 2 * max_frame_size)) < 0) ff_alloc_packet2 267 libavcodec/asvenc.c if ((ret = ff_alloc_packet2(avctx, pkt, a->mb_height * a->mb_width * MAX_MB_SIZE + ff_alloc_packet2 70 libavcodec/avuienc.c if ((ret = ff_alloc_packet2(avctx, pkt, size)) < 0) ff_alloc_packet2 121 libavcodec/bmpenc.c if ((ret = ff_alloc_packet2(avctx, pkt, n_bytes)) < 0) ff_alloc_packet2 1278 libavcodec/cinepakenc.c if ((ret = ff_alloc_packet2(avctx, pkt, s->frame_buf_size)) < 0) ff_alloc_packet2 59 libavcodec/cljrenc.c if ((ret = ff_alloc_packet2(avctx, pkt, 32*avctx->height*avctx->width/4)) < 0) ff_alloc_packet2 920 libavcodec/dcaenc.c if ((ret = ff_alloc_packet2(avctx, avpkt, c->frame_size )) < 0) ff_alloc_packet2 1051 libavcodec/dnxhdenc.c if ((ret = ff_alloc_packet2(avctx, pkt, ctx->cid_table->frame_size)) < 0) ff_alloc_packet2 195 libavcodec/dpxenc.c if ((ret = ff_alloc_packet2(avctx, pkt, size + HEADER_SIZE)) < 0) ff_alloc_packet2 724 libavcodec/dvenc.c if ((ret = ff_alloc_packet2(c, pkt, s->sys->frame_size)) < 0) ff_alloc_packet2 1236 libavcodec/ffv1enc.c if ((ret = ff_alloc_packet2(avctx, pkt, maxsize)) < 0) ff_alloc_packet2 1294 libavcodec/flacenc.c if ((ret = ff_alloc_packet2(avctx, avpkt, frame_bytes)) < 0) ff_alloc_packet2 857 libavcodec/flashsv2enc.c if ((res = ff_alloc_packet2(avctx, pkt, s->frame_size + FF_MIN_BUFFER_SIZE)) < 0) ff_alloc_packet2 249 libavcodec/flashsvenc.c if ((res = ff_alloc_packet2(avctx, pkt, s->image_width * s->image_height * 3)) < 0) ff_alloc_packet2 361 libavcodec/g722enc.c if ((ret = ff_alloc_packet2(avctx, avpkt, out_size)) < 0) ff_alloc_packet2 2465 libavcodec/g723_1.c if ((ret = ff_alloc_packet2(avctx, avpkt, 24)) < 0) ff_alloc_packet2 351 libavcodec/g726.c if ((ret = ff_alloc_packet2(avctx, avpkt, out_size)) < 0) ff_alloc_packet2 273 libavcodec/gif.c if ((ret = ff_alloc_packet2(avctx, pkt, avctx->width*avctx->height*7/5 + FF_MIN_BUFFER_SIZE)) < 0) ff_alloc_packet2 762 libavcodec/huffyuvenc.c if ((ret = ff_alloc_packet2(avctx, pkt, width * height * 3 * 4 + FF_MIN_BUFFER_SIZE)) < 0) ff_alloc_packet2 190 libavcodec/internal.h int ff_alloc_packet2(AVCodecContext *avctx, AVPacket *avpkt, int64_t size); ff_alloc_packet2 923 libavcodec/j2kenc.c if ((ret = ff_alloc_packet2(avctx, pkt, avctx->width*avctx->height*9 + FF_MIN_BUFFER_SIZE)) < 0) ff_alloc_packet2 268 libavcodec/jpeglsenc.c if ((ret = ff_alloc_packet2(avctx, pkt, avctx->width *avctx->height * comps * 4 + ff_alloc_packet2 82 libavcodec/lclenc.c if ((ret = ff_alloc_packet2(avctx, pkt, max_size)) < 0) ff_alloc_packet2 104 libavcodec/libaacplus.c if ((ret = ff_alloc_packet2(avctx, pkt, s->max_output_bytes)) < 0) ff_alloc_packet2 187 libavcodec/libfaac.c if ((ret = ff_alloc_packet2(avctx, avpkt, (7 + 768) * avctx->channels)) < 0) ff_alloc_packet2 345 libavcodec/libfdk-aacenc.c if ((ret = ff_alloc_packet2(avctx, avpkt, FFMAX(8192, 768 * avctx->channels))) < 0) ff_alloc_packet2 101 libavcodec/libgsmenc.c if ((ret = ff_alloc_packet2(avctx, avpkt, avctx->block_align)) < 0) ff_alloc_packet2 169 libavcodec/libilbc.c if ((ret = ff_alloc_packet2(avctx, avpkt, 50)) < 0) ff_alloc_packet2 261 libavcodec/libmp3lame.c if ((ret = ff_alloc_packet2(avctx, avpkt, len)) < 0) ff_alloc_packet2 239 libavcodec/libopencore-amr.c if ((ret = ff_alloc_packet2(avctx, avpkt, 32)) < 0) ff_alloc_packet2 586 libavcodec/libopenjpegenc.c if ((ret = ff_alloc_packet2(avctx, pkt, len)) < 0) { ff_alloc_packet2 338 libavcodec/libopusenc.c if ((ret = ff_alloc_packet2(avctx, avpkt, (1275 * 3 + 7) * opus->stream_count)) < 0) ff_alloc_packet2 386 libavcodec/libschroedingerenc.c if ((ret = ff_alloc_packet2(avctx, pkt, pkt_size)) < 0) ff_alloc_packet2 105 libavcodec/libshine.c if ((ret = ff_alloc_packet2(avctx, avpkt, len))) ff_alloc_packet2 297 libavcodec/libspeexenc.c if ((ret = ff_alloc_packet2(avctx, avpkt, speex_bits_nbytes(&s->bits))) < 0) ff_alloc_packet2 341 libavcodec/libtheoraenc.c if ((ret = ff_alloc_packet2(avc_context, pkt, o_packet.bytes)) < 0) ff_alloc_packet2 109 libavcodec/libtwolame.c if ((ret = ff_alloc_packet2(avctx, avpkt, MPA_MAX_CODED_FRAME_SIZE)) < 0) ff_alloc_packet2 145 libavcodec/libutvideoenc.cpp if ((ret = ff_alloc_packet2(avctx, pkt, utv->buf_size)) < 0) ff_alloc_packet2 156 libavcodec/libvo-aacenc.c if ((ret = ff_alloc_packet2(avctx, avpkt, FFMAX(8192, 768 * avctx->channels))) < 0) ff_alloc_packet2 118 libavcodec/libvo-amrwbenc.c if ((ret = ff_alloc_packet2(avctx, avpkt, MAX_PACKET_SIZE)) < 0) ff_alloc_packet2 341 libavcodec/libvorbisenc.c if ((ret = ff_alloc_packet2(avctx, avpkt, op.bytes)) < 0) ff_alloc_packet2 542 libavcodec/libvpxenc.c int ret = ff_alloc_packet2(avctx, pkt, cx_frame->sz); ff_alloc_packet2 116 libavcodec/libx264.c if ((ret = ff_alloc_packet2(ctx, pkt, size)) < 0) ff_alloc_packet2 91 libavcodec/libxavs.c if ((ret = ff_alloc_packet2(ctx, pkt, size)) < 0) ff_alloc_packet2 146 libavcodec/libxavs.c if ((ret = ff_alloc_packet2(avctx, pkt, 4)) < 0) ff_alloc_packet2 716 libavcodec/libxvid.c if ((ret = ff_alloc_packet2(avctx, pkt, mb_width*(int64_t)mb_height*MAX_MB_BYTES + FF_MIN_BUFFER_SIZE)) < 0) ff_alloc_packet2 231 libavcodec/ljpegenc.c if ((ret = ff_alloc_packet2(avctx, pkt, max_pkt_size)) < 0) ff_alloc_packet2 766 libavcodec/mpegaudioenc_template.c if ((ret = ff_alloc_packet2(avctx, avpkt, MPA_MAX_CODED_FRAME_SIZE)) < 0) ff_alloc_packet2 1726 libavcodec/mpegvideo_enc.c if ((ret = ff_alloc_packet2(avctx, pkt, pkt_size)) < 0) ff_alloc_packet2 79 libavcodec/msvideo1enc.c if ((ret = ff_alloc_packet2(avctx, pkt, avctx->width*avctx->height*9 + FF_MIN_BUFFER_SIZE)) < 0) ff_alloc_packet2 400 libavcodec/nellymoserenc.c if ((ret = ff_alloc_packet2(avctx, avpkt, NELLY_BLOCK_LEN)) < 0) ff_alloc_packet2 919 libavcodec/nvenc.c if (res = ff_alloc_packet2(avctx, pkt, lock_params.bitstreamSizeInBytes)) { ff_alloc_packet2 94 libavcodec/pamenc.c if ((ret = ff_alloc_packet2(avctx, pkt, n*h + 200)) < 0) ff_alloc_packet2 100 libavcodec/pcm.c if ((ret = ff_alloc_packet2(avctx, avpkt, n * sample_size)) < 0) ff_alloc_packet2 154 libavcodec/pcxenc.c if ((ret = ff_alloc_packet2(avctx, pkt, max_pkt_size)) < 0) ff_alloc_packet2 368 libavcodec/pngenc.c if ((ret = ff_alloc_packet2(avctx, pkt, max_packet_size)) < 0) ff_alloc_packet2 33 libavcodec/pnmenc.c if ((ret = ff_alloc_packet2(avctx, pkt, avpicture_get_size(avctx->pix_fmt, ff_alloc_packet2 498 libavcodec/proresenc_anatoliy.c if ((ret = ff_alloc_packet2(avctx, pkt, frame_size + FF_MIN_BUFFER_SIZE)) < 0) ff_alloc_packet2 947 libavcodec/proresenc_kostya.c if ((ret = ff_alloc_packet2(avctx, pkt, pkt_size + FF_MIN_BUFFER_SIZE)) < 0) ff_alloc_packet2 374 libavcodec/qtrleenc.c if ((ret = ff_alloc_packet2(avctx, pkt, s->max_buf_size)) < 0) ff_alloc_packet2 47 libavcodec/r210enc.c if ((ret = ff_alloc_packet2(avctx, pkt, 4 * aligned_width * avctx->height)) < 0) ff_alloc_packet2 450 libavcodec/ra144enc.c if ((ret = ff_alloc_packet2(avctx, avpkt, FRAME_SIZE)) < 0) ff_alloc_packet2 54 libavcodec/rawenc.c if ((ret = ff_alloc_packet2(avctx, pkt, ret)) < 0) ff_alloc_packet2 163 libavcodec/roqaudioenc.c if ((ret = ff_alloc_packet2(avctx, avpkt, ROQ_HEADER_SIZE + data_size)) < 0) ff_alloc_packet2 1098 libavcodec/roqvideoenc.c if ((ret = ff_alloc_packet2(avctx, pkt, size)) < 0) ff_alloc_packet2 81 libavcodec/s302menc.c if ((ret = ff_alloc_packet2(avctx, avpkt, buf_size)) < 0) ff_alloc_packet2 117 libavcodec/sgienc.c if ((ret = ff_alloc_packet2(avctx, pkt, bytes_per_channel * length)) < 0) ff_alloc_packet2 1559 libavcodec/snowenc.c if ((ret = ff_alloc_packet2(avctx, pkt, s->b_width*s->b_height*MB_SIZE*MB_SIZE*3 + FF_MIN_BUFFER_SIZE)) < 0) ff_alloc_packet2 723 libavcodec/sonic.c if ((ret = ff_alloc_packet2(avctx, avpkt, s->frame_size * 5 + 1000)) < 0) ff_alloc_packet2 184 libavcodec/sunrastenc.c if ((ret = ff_alloc_packet2(avctx, avpkt, s->size)) < 0) ff_alloc_packet2 583 libavcodec/svq1enc.c if ((ret = ff_alloc_packet2(avctx, pkt, s->y_block_width * s->y_block_height * ff_alloc_packet2 88 libavcodec/targaenc.c if ((ret = ff_alloc_packet2(avctx, pkt, picsize + 45)) < 0) ff_alloc_packet2 331 libavcodec/tiffenc.c if ((ret = ff_alloc_packet2(avctx, pkt, packet_size)) < 0) ff_alloc_packet2 119 libavcodec/ttaenc.c if ((ret = ff_alloc_packet2(avctx, avpkt, frame->nb_samples * 2 * avctx->channels * s->bps)) < 0) ff_alloc_packet2 1778 libavcodec/utils.c return ff_alloc_packet2(NULL, avpkt, size); ff_alloc_packet2 547 libavcodec/utvideoenc.c ret = ff_alloc_packet2(avctx, pkt, (256 + 4 * c->slices + width * height) * ff_alloc_packet2 51 libavcodec/v308enc.c if ((ret = ff_alloc_packet2(avctx, pkt, avctx->width * avctx->height * 3)) < 0) ff_alloc_packet2 46 libavcodec/v408enc.c if ((ret = ff_alloc_packet2(avctx, pkt, avctx->width * avctx->height * 4)) < 0) ff_alloc_packet2 53 libavcodec/v410enc.c if ((ret = ff_alloc_packet2(avctx, pkt, avctx->width * avctx->height * 4)) < 0) ff_alloc_packet2 1036 libavcodec/vorbisenc.c if ((ret = ff_alloc_packet2(avctx, avpkt, 8192)) < 0) ff_alloc_packet2 2886 libavcodec/wavpackenc.c if ((ret = ff_alloc_packet2(avctx, avpkt, buf_size)) < 0) ff_alloc_packet2 380 libavcodec/wmaenc.c if ((ret = ff_alloc_packet2(avctx, avpkt, 2 * MAX_CODED_SUPERFRAME_SIZE)) < 0) ff_alloc_packet2 35 libavcodec/xbmenc.c if ((ret = ff_alloc_packet2(avctx, pkt, size)) < 0) ff_alloc_packet2 208 libavcodec/xfaceenc.c if ((ret = ff_alloc_packet2(avctx, pkt, i+2)) < 0) ff_alloc_packet2 149 libavcodec/xwdenc.c if ((ret = ff_alloc_packet2(avctx, pkt, out_size)) < 0) ff_alloc_packet2 51 libavcodec/y41penc.c if ((ret = ff_alloc_packet2(avctx, pkt, avctx->width * avctx->height * 1.5)) < 0) ff_alloc_packet2 45 libavcodec/yuv4enc.c if ((ret = ff_alloc_packet2(avctx, pkt, 6 * (avctx->width + 1 >> 1) * (avctx->height + 1 >> 1))) < 0) ff_alloc_packet2 230 libavcodec/zmbvenc.c if ((ret = ff_alloc_packet2(avctx, pkt, pkt_size)) < 0)