Lines Matching defs:pkt
76 AVCodecContext *ctx, AVPacket *pkt, AVFrame *fr,
103 result = av_read_frame(fmt_ctx, pkt);
104 if (result >= 0 && pkt->stream_index != video_stream) {
105 av_packet_unref(pkt);
112 if (pkt->pts == AV_NOPTS_VALUE) {
116 result = avcodec_send_packet(ctx, pkt);
119 av_packet_unref(pkt);
190 AVPacket *pkt = NULL;
265 pkt = av_packet_alloc();
266 if (!pkt) {
272 result = compute_crc_of_packets(fmt_ctx, video_stream, ctx, pkt, fr, 0, 0, 1);
278 result = compute_crc_of_packets(fmt_ctx, video_stream, ctx, pkt, fr, i, j, 0);
287 av_packet_free(&pkt);