av_new_packet 454 libavcodec/amfenc.c if ((ret = av_new_packet(pkt, size)) < 0) { av_new_packet 855 libavcodec/decode.c ret = av_new_packet(&tmp, inl * UTF8_MAX_BYTES); av_new_packet 60 libavcodec/dump_extradata_bsf.c ret = av_new_packet(out, in->size + ctx->par_in->extradata_size); av_new_packet 66 libavcodec/encode.c int ret = av_new_packet(avpkt, size); av_new_packet 276 libavcodec/h264_mp4toannexb_bsf.c ret = av_new_packet(opkt, out_size); av_new_packet 46 libavcodec/imx_dump_header_bsf.c ret = av_new_packet(out, in->size + 20); av_new_packet 510 libavcodec/librav1e.c ret = av_new_packet(pkt, rpkt->len); av_new_packet 217 libavcodec/libxavs2.c if (av_new_packet(pkt, cae->packet.len) < 0) { av_new_packet 244 libavcodec/mfenc.c if ((ret = av_new_packet(avpkt, len)) < 0) av_new_packet 113 libavcodec/mjpeg2jpeg_bsf.c ret = av_new_packet(out, output_size); av_new_packet 45 libavcodec/mjpega_dump_header_bsf.c ret = av_new_packet(out, in->size + 44); av_new_packet 40 libavcodec/movsub_bsf.c ret = av_new_packet(out, in->size + 2); av_new_packet 90 libavcodec/mp3_header_decompress_bsf.c ret = av_new_packet(out, frame_size); av_new_packet 1884 libavcodec/nvenc.c av_new_packet(pkt, lock_params.bitstreamSizeInBytes); av_new_packet 468 libavcodec/packet.h int av_new_packet(AVPacket *pkt, int size); av_new_packet 122 libavcodec/pcm_rechunk_bsf.c ret = av_new_packet(s->out_pkt, data_size); av_new_packet 1427 libavcodec/qsvenc.c ret = av_new_packet(&new_pkt, q->packet_size); av_new_packet 111 libavcodec/tests/avpacket.c if(av_new_packet(avpkt_clone, INT_MAX) == 0){ av_new_packet 608 libavcodec/vaapi_encode.c err = av_new_packet(pkt, total_size); av_new_packet 244 libavcodec/vp9_raw_reorder_bsf.c err = av_new_packet(out, 2); av_new_packet 62 libavcodec/vp9_superframe_bsf.c res = av_new_packet(out, sz); av_new_packet 108 libavdevice/alsa_dec.c if (av_new_packet(pkt, s->period_size * s->frame_size) < 0) { av_new_packet 450 libavdevice/android_camera.c ret = av_new_packet(&pkt, pkt_buffer_size); av_new_packet 248 libavdevice/bktr.c if (av_new_packet(pkt, video_buf_size) < 0) av_new_packet 178 libavdevice/dshow.c if(av_new_packet(&pktl_next->pkt, buf_size) < 0) { av_new_packet 180 libavdevice/fbdev_dec.c if ((ret = av_new_packet(pkt, fbdev->frame_size)) < 0) av_new_packet 569 libavdevice/gdigrab.c if (av_new_packet(pkt, file_size) < 0) av_new_packet 138 libavdevice/jack.c if ((test = av_new_packet(&pkt, pkt_size)) < 0) { av_new_packet 375 libavdevice/lavfi.c if ((ret = av_new_packet(&lavfi->subcc_packet, sd->size)) < 0) av_new_packet 439 libavdevice/lavfi.c if ((ret = av_new_packet(pkt, size)) < 0) av_new_packet 447 libavdevice/lavfi.c if ((ret = av_new_packet(pkt, size)) < 0) av_new_packet 139 libavdevice/libcdio.c if ((ret = av_new_packet(pkt, CDIO_CD_FRAMESIZE_RAW)) < 0) av_new_packet 202 libavdevice/openal-dec.c if ((error = av_new_packet(pkt, nb_samples*ad->sample_step)) < 0) av_new_packet 77 libavdevice/oss_dec.c if ((ret=av_new_packet(pkt, s->frame_size)) < 0) av_new_packet 302 libavdevice/pulse_audio_dec.c if (av_new_packet(pkt, read_length) < 0) { av_new_packet 65 libavdevice/sndio_dec.c if ((ret = av_new_packet(pkt, s->buffer_size)) < 0) av_new_packet 551 libavdevice/v4l2.c res = av_new_packet(pkt, buf.bytesused); av_new_packet 197 libavdevice/vfwcap.c if(av_new_packet(&pktl_next->pkt, vdhdr->dwBytesUsed) < 0) { av_new_packet 332 libavformat/4xm.c if ((ret = av_new_packet(pkt, size + 8)) < 0) av_new_packet 308 libavformat/aadec.c ret = av_new_packet(pkt, written - c->seek_offset); av_new_packet 120 libavformat/act.c ret=av_new_packet(pkt, 10); av_new_packet 122 libavformat/act.c ret=av_new_packet(pkt, 11); av_new_packet 137 libavformat/amr.c if (!size || av_new_packet(pkt, size)) av_new_packet 426 libavformat/ape.c ret = av_new_packet(pkt, ape->frames[ape->currentframe].size + extra_size); av_new_packet 1309 libavformat/asfdec_f.c if ((ret = av_new_packet(&asf_st->pkt, asf_st->packet_obj_size)) < 0) av_new_packet 1162 libavformat/asfdec_o.c if ((ret = av_new_packet(&asf_pkt->avpkt, data_size)) < 0) av_new_packet 1238 libavformat/asfdec_o.c if ((ret = av_new_packet(&asf_pkt->avpkt, data_size)) < 0) av_new_packet 1404 libavformat/asfdec_o.c if ((ret = av_new_packet(&pkt, asf_pkt->data_size)) < 0) av_new_packet 663 libavformat/avisynth.c if ((ret = av_new_packet(pkt, pkt->size)) < 0) av_new_packet 759 libavformat/avisynth.c if ((ret = av_new_packet(pkt, pkt->size)) < 0) av_new_packet 99 libavformat/avs.c ret = av_new_packet(pkt, size + palette_size); av_new_packet 185 libavformat/bethsoftvid.c if ((ret = av_new_packet(pkt, vidbuf_nbytes)) < 0) av_new_packet 97 libavformat/bit.c if ((ret = av_new_packet(pkt, packet_size)) < 0) av_new_packet 99 libavformat/bmv.c if ((err = av_new_packet(pkt, audio_size)) < 0) av_new_packet 111 libavformat/bmv.c if ((err = av_new_packet(pkt, c->size + 1)) < 0) av_new_packet 406 libavformat/brstm.c if ((ret = av_new_packet(pkt, 8 + (32 + 4 + size) * par->channels)) < 0) av_new_packet 153 libavformat/c93.c ret = av_new_packet(pkt, datasize + 768 + 1); av_new_packet 205 libavformat/cdxl.c if ((ret = av_new_packet(pkt, video_size + CDXL_HEADER_SIZE)) < 0) av_new_packet 172 libavformat/dsfdec.c if ((ret = av_new_packet(pkt, packet_size)) < 0) av_new_packet 189 libavformat/dsicin.c ret = av_new_packet(pkt, 4 + pkt_size); av_new_packet 225 libavformat/dss.c ret = av_new_packet(pkt, DSS_FRAME_SIZE); av_new_packet 283 libavformat/dss.c ret = av_new_packet(pkt, size); av_new_packet 182 libavformat/dxa.c if ((ret = av_new_packet(pkt, 4 + pal_size)) < 0) av_new_packet 207 libavformat/dxa.c ret = av_new_packet(pkt, size + DXA_EXTRA_SIZE + pal_size); av_new_packet 177 libavformat/fitsdec.c ret = av_new_packet(pkt, avbuf.len - 80 + size); av_new_packet 218 libavformat/flic.c if ((ret = av_new_packet(pkt, size)) < 0) av_new_packet 232 libavformat/flic.c if ((ret = av_new_packet(pkt, size)) < 0) av_new_packet 180 libavformat/fsb.c ret = av_new_packet(pkt, par->block_align); av_new_packet 62 libavformat/g723_1.c ret = av_new_packet(pkt, size); av_new_packet 166 libavformat/genh.c ret = av_new_packet(pkt, 8 * par->channels); av_new_packet 175 libavformat/icodec.c if ((ret = av_new_packet(pkt, 14 + image->size)) < 0) av_new_packet 208 libavformat/idroqdec.c ret = av_new_packet(pkt, chunk_size + RoQ_CHUNK_PREAMBLE_SIZE); av_new_packet 102 libavformat/ilbc.c if ((ret = av_new_packet(pkt, par->block_align)) < 0) av_new_packet 489 libavformat/img2dec.c res = av_new_packet(pkt, size[0] + size[1] + size[2]); av_new_packet 163 libavformat/ipmovie.c if (av_new_packet(pkt, 8 + s->decode_map_chunk_size + s->video_chunk_size + s->skip_map_chunk_size)) av_new_packet 192 libavformat/jvdec.c if ((ret = av_new_packet(pkt, size + JV_PREAMBLE_SIZE)) < 0) av_new_packet 146 libavformat/libgme.c if ((ret = av_new_packet(pkt, AUDIO_PKT_SIZE)) < 0) av_new_packet 289 libavformat/libmodplug.c if ((ret = av_new_packet(pkt, modplug->fsize)) < 0) av_new_packet 322 libavformat/libmodplug.c if ((ret = av_new_packet(pkt, AUDIO_PKT_SIZE)) < 0) av_new_packet 175 libavformat/libopenmpt.c if ((ret = av_new_packet(pkt, AUDIO_PKT_SIZE)) < 0) av_new_packet 315 libavformat/lxfdec.c if ((ret2 = av_new_packet(pkt, ret)) < 0) av_new_packet 3175 libavformat/matroskadec.c ret = av_new_packet(pkt, a); av_new_packet 3367 libavformat/matroskadec.c err = av_new_packet(pkt, text_len); av_new_packet 165 libavformat/mm.c if ((ret = av_new_packet(pkt, length + MM_PREAMBLE_SIZE)) < 0) av_new_packet 159 libavformat/mpc.c if ((ret = av_new_packet(pkt, size + 4)) < 0) av_new_packet 3160 libavformat/mpegts.c if ((ret = av_new_packet(pkt, TS_PACKET_SIZE)) < 0) av_new_packet 173 libavformat/mxg.c ret = av_new_packet(pkt, size); av_new_packet 212 libavformat/mxg.c ret = av_new_packet(pkt, size - 14); av_new_packet 1099 libavformat/nutdec.c ret = av_new_packet(pkt, size + nut->header_len[header_idx]); av_new_packet 276 libavformat/nuv.c ret = av_new_packet(pkt, copyhdrsize + size); av_new_packet 858 libavformat/oggdec.c ret = av_new_packet(pkt, psize); av_new_packet 206 libavformat/paf.c if ((ret = av_new_packet(pkt, p->audio_size)) < 0) av_new_packet 247 libavformat/paf.c if ((ret = av_new_packet(pkt, size)) < 0) av_new_packet 216 libavformat/psxstr.c ret = av_new_packet(pkt, sector_count * VIDEO_DATA_CHUNK_SIZE); av_new_packet 271 libavformat/psxstr.c if ((ret = av_new_packet(pkt, 2304)) < 0) av_new_packet 42 libavformat/rawdec.c if ((ret = av_new_packet(pkt, size)) < 0) av_new_packet 48 libavformat/rawutils.c ret = av_new_packet(new_pkt, expected_stride * par->height); av_new_packet 295 libavformat/rmdec.c if (av_new_packet(&ast->pkt, ast->audio_framesize * sub_packet_h) < 0) av_new_packet 784 libavformat/rmdec.c if ((ret = av_new_packet(pkt, len + 9)) < 0) av_new_packet 807 libavformat/rmdec.c if ((ret = av_new_packet(&vst->pkt, vst->videobufsize)) < 0) av_new_packet 979 libavformat/rmdec.c ret = av_new_packet(pkt, st->codecpar->block_align); av_new_packet 188 libavformat/rsd.c ret = av_new_packet(pkt, par->block_align); av_new_packet 694 libavformat/rtpdec.c if ((rv = av_new_packet(pkt, len)) < 0) av_new_packet 65 libavformat/rtpdec_ac3.c if ((err = av_new_packet(pkt, len)) < 0) { av_new_packet 96 libavformat/rtpdec_amr.c if ((ret = av_new_packet(pkt, len - 1)) < 0) { av_new_packet 76 libavformat/rtpdec_h263.c if ((ret = av_new_packet(pkt, len + startcode)) < 0) { av_new_packet 255 libavformat/rtpdec_h264.c if ((ret = av_new_packet(pkt, total_length)) < 0) av_new_packet 273 libavformat/rtpdec_h264.c if ((ret = av_new_packet(pkt, tot_len)) < 0) av_new_packet 335 libavformat/rtpdec_h264.c if ((result = av_new_packet(pkt, len + sizeof(start_sequence))) < 0) av_new_packet 245 libavformat/rtpdec_hevc.c if ((res = av_new_packet(pkt, sizeof(start_sequence) + len)) < 0) av_new_packet 84 libavformat/rtpdec_latm.c if ((ret = av_new_packet(pkt, cur_len)) < 0) av_new_packet 93 libavformat/rtpdec_mpa_robust.c if ((err = av_new_packet(pkt, adu_size)) < 0) { av_new_packet 123 libavformat/rtpdec_mpa_robust.c if ((err = av_new_packet(pkt, adu_size)) < 0) { av_new_packet 45 libavformat/rtpdec_mpeg12.c if ((ret = av_new_packet(pkt, len)) < 0) av_new_packet 190 libavformat/rtpdec_mpeg4.c if ((ret = av_new_packet(pkt, data->au_headers[data->cur_au_index].size)) < 0) { av_new_packet 249 libavformat/rtpdec_mpeg4.c ret = av_new_packet(pkt, data->buf_size); av_new_packet 265 libavformat/rtpdec_mpeg4.c if ((ret = av_new_packet(pkt, data->au_headers[0].size)) < 0) { av_new_packet 128 libavformat/rtpdec_qcelp.c if ((ret = av_new_packet(pkt, frame_size)) < 0) av_new_packet 168 libavformat/rtpdec_qcelp.c if ((ret = av_new_packet(pkt, 1)) < 0) av_new_packet 180 libavformat/rtpdec_qcelp.c if ((ret = av_new_packet(pkt, frame_size)) < 0) av_new_packet 200 libavformat/rtpdec_qdm2.c if ((res = av_new_packet(pkt, qdm->block_size)) < 0) av_new_packet 56 libavformat/rtpdec_qt.c if ((ret = av_new_packet(pkt, qt->bytes_per_frame)) < 0) av_new_packet 211 libavformat/rtpdec_qt.c if ((ret = av_new_packet(pkt, qt->bytes_per_frame)) < 0) av_new_packet 62 libavformat/rtpdec_vc2hq.c if ((res = av_new_packet(pkt, DIRAC_DATA_UNIT_HEADER_SIZE + len)) < 0) av_new_packet 81 libavformat/rtpdec_vc2hq.c if ((res = av_new_packet(pkt, DIRAC_DATA_UNIT_HEADER_SIZE)) < 0) av_new_packet 80 libavformat/rtpdec_xiph.c if ((ret = av_new_packet(pkt, pkt_len)) < 0) { av_new_packet 126 libavformat/rtpdec_xiph.c if ((ret = av_new_packet(pkt, pkt_len)) < 0) { av_new_packet 171 libavformat/s337m.c if ((ret = av_new_packet(pkt, offset)) < 0) av_new_packet 1458 libavformat/sbgdec.c if ((ret = av_new_packet(packet, 12)) < 0) av_new_packet 93 libavformat/sdr2.c if ((ret = av_new_packet(pkt, next - 52 + 24)) < 0) av_new_packet 137 libavformat/sdsdec.c ret = av_new_packet(pkt, s->size); av_new_packet 286 libavformat/sierravmd.c ret = av_new_packet(pkt, frame->frame_size + BYTES_PER_FRAME_RECORD); av_new_packet 217 libavformat/siff.c if ((ret = av_new_packet(pkt, size + c->gmcsize + 2)) < 0) av_new_packet 333 libavformat/smacker.c if ((ret = av_new_packet(pkt, frame_size + 769)) < 0) av_new_packet 350 libavformat/smacker.c if ((ret = av_new_packet(pkt, smk->buf_sizes[smk->curstream])) < 0) av_new_packet 193 libavformat/spdifdec.c ret = av_new_packet(pkt, FFALIGN(pkt_size_bits, 16) >> 3); av_new_packet 136 libavformat/subtitles.c if (av_new_packet(sub, len) < 0) av_new_packet 389 libavformat/swfdec.c if ((res = av_new_packet(pkt, out_len - colormapsize * colormapbpp)) < 0) av_new_packet 488 libavformat/swfdec.c if ((res = av_new_packet(pkt, len)) < 0) av_new_packet 276 libavformat/tiertexseq.c rc = av_new_packet(pkt, 1 + seq->current_pal_data_size av_new_packet 477 libavformat/ty.c if ((ret = av_new_packet(pkt, size)) < 0) av_new_packet 501 libavformat/ty.c if ((ret = av_new_packet(pkt, rec_size)) < 0) av_new_packet 624 libavformat/ty.c if ((ret = av_new_packet(pkt, rec_size - need)) < 0) av_new_packet 646 libavformat/ty.c if ((ret = av_new_packet(pkt, rec_size)) < 0) av_new_packet 677 libavformat/ty.c if ((ret = av_new_packet(pkt, rec_size)) < 0) av_new_packet 684 libavformat/ty.c if ((ret = av_new_packet(pkt, rec_size)) < 0) av_new_packet 92 libavformat/vpk.c ret = av_new_packet(pkt, vpk->last_block_size); av_new_packet 240 libavformat/vqf.c if ((ret = av_new_packet(pkt, size + 2)) < 0) av_new_packet 154 libavformat/westwood_aud.c if ((ret = av_new_packet(pkt, chunk_size + 4)) < 0) av_new_packet 294 libavformat/wvdec.c if ((ret = av_new_packet(pkt, wc->header.blocksize + WV_HEADER_SIZE)) < 0) av_new_packet 134 libavformat/yop.c ret = av_new_packet(&yop->video_packet, av_new_packet 122 tools/target_bsf_fuzzer.c res = av_new_packet(&in, data - last); av_new_packet 293 tools/target_dec_fuzzer.c res = av_new_packet(&parsepkt, data - last);