diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-03-01 21:06:01 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-03-02 15:40:18 +0100 |
| commit | 2091311fde159ec39126608327eb93b28898bd6c (patch) | |
| tree | 1396d4e920de7603b402353c00ba5cce765c33e5 /src/lib/ffmpeg_decoder.h | |
| parent | 6c092a6abef4bf38fe62112544f7b6247cdb07d0 (diff) | |
Remove FFmpeg::_packet.
Diffstat (limited to 'src/lib/ffmpeg_decoder.h')
| -rw-r--r-- | src/lib/ffmpeg_decoder.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/ffmpeg_decoder.h b/src/lib/ffmpeg_decoder.h index 7a1fa40d2..58120da33 100644 --- a/src/lib/ffmpeg_decoder.h +++ b/src/lib/ffmpeg_decoder.h @@ -60,9 +60,9 @@ private: 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 (); - void decode_subtitle_packet (); + bool decode_video_packet (AVPacket* packet); + void decode_audio_packet (AVPacket* packet); + void decode_subtitle_packet (AVPacket* packet); void decode_bitmap_subtitle (AVSubtitleRect const * rect, dcpomatic::ContentTime from); void decode_ass_subtitle (std::string ass, dcpomatic::ContentTime from); |
