Lines Matching defs:packet
77 static int decode_write(AVCodecContext *avctx, AVPacket *packet)
85 ret = avcodec_send_packet(avctx, packet);
156 AVPacket *packet = NULL;
175 packet = av_packet_alloc();
176 if (!packet) {
236 if ((ret = av_read_frame(input_ctx, packet)) < 0)
239 if (video_stream == packet->stream_index)
240 ret = decode_write(decoder_ctx, packet);
242 av_packet_unref(packet);
250 av_packet_free(&packet);