summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_decoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-03-01 20:35:12 +0100
committerCarl Hetherington <cth@carlh.net>2021-03-02 15:40:18 +0100
commit6c092a6abef4bf38fe62112544f7b6247cdb07d0 (patch)
tree95f50bfdd72ab7f73c5ac4bb57511576a144bd40 /src/lib/ffmpeg_decoder.h
parentfd542231f5f8a4933fb1d3fa9285c1a92d9833c0 (diff)
Extract process_audio_frame.
Diffstat (limited to 'src/lib/ffmpeg_decoder.h')
-rw-r--r--src/lib/ffmpeg_decoder.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/ffmpeg_decoder.h b/src/lib/ffmpeg_decoder.h
index 009d61b48..7a1fa40d2 100644
--- a/src/lib/ffmpeg_decoder.h
+++ b/src/lib/ffmpeg_decoder.h
@@ -58,6 +58,7 @@ private:
int bytes_per_audio_sample (std::shared_ptr<FFmpegAudioStream> stream) const;
std::shared_ptr<FFmpegAudioStream> audio_stream_from_index (int index) const;
+ void process_audio_frame (std::shared_ptr<FFmpegAudioStream> stream, int stream_index, int64_t packet_pts);
bool decode_video_packet ();
void decode_audio_packet ();