Lines Matching defs:got_frame
68 static int decode_packet(int *got_frame, int cached)
73 *got_frame = 0;
77 ret = avcodec_decode_video2(video_dec_ctx, frame, got_frame, &pkt);
83 if (*got_frame) {
100 ret = avcodec_decode_audio4(audio_dec_ctx, frame, got_frame, &pkt);
111 if (*got_frame) {
132 if (*got_frame && api_mode == API_MODE_NEW_API_REF_COUNT)
209 int ret = 0, got_frame;
323 ret = decode_packet(&got_frame, 0);
336 decode_packet(&got_frame, 1);
337 } while (got_frame);