* Convert a non-negative stream-relative time stamp in * AVStream::time_base units to a PCM frame number. */
| 186 | * AVStream::time_base units to a PCM frame number. |
| 187 | */ |
| 188 | [[gnu::pure]] |
| 189 | static uint64_t |
| 190 | PtsToPcmFrame(uint64_t pts, const AVStream &stream, |
| 191 | const AVCodecContext &codec_context) noexcept |
| 192 | { |
| 193 | return av_rescale_q(pts, stream.time_base, codec_context.time_base); |
| 194 | } |
| 195 | |
| 196 | /** |
| 197 | * Invoke DecoderClient::SubmitAudio() with the contents of an |
no outgoing calls
no test coverage detected