Lines Matching defs:avpkt
190 static int mp3lame_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
269 if ((ret = ff_get_encode_buffer(avctx, avpkt, len, 0)) < 0)
271 memcpy(avpkt->data, s->buffer, len);
276 ff_af_queue_remove(&s->afq, avctx->frame_size, &avpkt->pts,
277 &avpkt->duration);
279 discard_padding = avctx->frame_size - avpkt->duration;
281 if ((discard_padding < avctx->frame_size) != (avpkt->duration > 0)) {
283 av_packet_unref(avpkt);
287 uint8_t* side_data = av_packet_new_side_data(avpkt,
291 av_packet_unref(avpkt);