mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-07 21:59:54 +00:00
LibMedia: Mark FFmpegVideoDecoder functions with virtual override
The destructor lacked any of these specifiers, and others lacked the virtual specifier.
This commit is contained in:
parent
fc1cc49d6a
commit
319e381eb9
Notes:
github-actions[bot]
2025-09-22 17:35:55 +00:00
Author: https://github.com/Zaggy1024
Commit: 319e381eb9
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6239
Reviewed-by: https://github.com/gmta ✅
1 changed files with 4 additions and 4 deletions
|
|
@ -18,12 +18,12 @@ class MEDIA_API FFmpegVideoDecoder final : public VideoDecoder {
|
|||
public:
|
||||
static DecoderErrorOr<NonnullOwnPtr<FFmpegVideoDecoder>> try_create(CodecID, ReadonlyBytes codec_initialization_data);
|
||||
FFmpegVideoDecoder(AVCodecContext* codec_context, AVPacket* packet, AVFrame* frame);
|
||||
~FFmpegVideoDecoder();
|
||||
virtual ~FFmpegVideoDecoder() override;
|
||||
|
||||
DecoderErrorOr<void> receive_coded_data(AK::Duration timestamp, ReadonlyBytes coded_data) override;
|
||||
DecoderErrorOr<NonnullOwnPtr<VideoFrame>> get_decoded_frame() override;
|
||||
virtual DecoderErrorOr<void> receive_coded_data(AK::Duration timestamp, ReadonlyBytes coded_data) override;
|
||||
virtual DecoderErrorOr<NonnullOwnPtr<VideoFrame>> get_decoded_frame() override;
|
||||
|
||||
void flush() override;
|
||||
virtual void flush() override;
|
||||
|
||||
private:
|
||||
AVCodecContext* m_codec_context;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue