Home
last modified time | relevance | path

Searched refs:audio_dec_ctx (Results 1 - 1 of 1) sorted by relevance

/third_party/ffmpeg/doc/examples/
H A Ddemuxing_decoding.c39 static AVCodecContext *video_dec_ctx = NULL, *audio_dec_ctx; variable
95 av_ts2timestr(frame->pts, &audio_dec_ctx->time_base)); in output_audio_frame()
280 if (open_codec_context(&audio_stream_idx, &audio_dec_ctx, fmt_ctx, AVMEDIA_TYPE_AUDIO) >= 0) { in main()
325 ret = decode_packet(audio_dec_ctx, pkt); in main()
334 if (audio_dec_ctx) in main()
335 decode_packet(audio_dec_ctx, NULL); in main()
347 enum AVSampleFormat sfmt = audio_dec_ctx->sample_fmt; in main()
348 int n_channels = audio_dec_ctx->ch_layout.nb_channels; in main()
365 fmt, n_channels, audio_dec_ctx->sample_rate, in main()
371 avcodec_free_context(&audio_dec_ctx); in main()
[all...]

Completed in 1 milliseconds