Searched refs:pkt (Results 1 – 1 of 1) sorted by relevance
56 AVPacket * pkt; member469 static int ffmpeg_decode_packet(AVCodecContext * dec, const AVPacket * pkt, in ffmpeg_decode_packet() argument475 ret = avcodec_send_packet(dec, pkt); in ffmpeg_decode_packet()650 if(av_read_frame(ffmpeg_ctx->fmt_ctx, ffmpeg_ctx->pkt) >= 0) { in ffmpeg_update_next_frame()656 if(ffmpeg_ctx->pkt->stream_index == ffmpeg_ctx->video_stream_idx) { in ffmpeg_update_next_frame()658 ffmpeg_ctx->pkt, ffmpeg_ctx); in ffmpeg_update_next_frame()662 av_packet_unref(ffmpeg_ctx->pkt); in ffmpeg_update_next_frame()844 ffmpeg_ctx->pkt = av_packet_alloc(); in ffmpeg_image_allocate()845 if(ffmpeg_ctx->pkt == NULL) { in ffmpeg_image_allocate()849 ffmpeg_ctx->pkt->data = NULL; in ffmpeg_image_allocate()[all …]