diff options
author | Lioncash <mathew1800@gmail.com> | 2020-10-30 21:13:29 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-11-02 08:45:15 +0100 |
commit | 4f0f481f63d0d5587a6d6d319f9815de87ed79ec (patch) | |
tree | e35c6800340cec5f104e094a377c69ccc3dd101f /src/video_core/command_classes/nvdec.h | |
parent | CMakeLists: Resolve MSVC build failures (diff) | |
download | yuzu-4f0f481f63d0d5587a6d6d319f9815de87ed79ec.tar yuzu-4f0f481f63d0d5587a6d6d319f9815de87ed79ec.tar.gz yuzu-4f0f481f63d0d5587a6d6d319f9815de87ed79ec.tar.bz2 yuzu-4f0f481f63d0d5587a6d6d319f9815de87ed79ec.tar.lz yuzu-4f0f481f63d0d5587a6d6d319f9815de87ed79ec.tar.xz yuzu-4f0f481f63d0d5587a6d6d319f9815de87ed79ec.tar.zst yuzu-4f0f481f63d0d5587a6d6d319f9815de87ed79ec.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/command_classes/nvdec.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/command_classes/nvdec.h b/src/video_core/command_classes/nvdec.h index af14f9857..eec4443f9 100644 --- a/src/video_core/command_classes/nvdec.h +++ b/src/video_core/command_classes/nvdec.h @@ -26,8 +26,8 @@ public: void ProcessMethod(Method method, const std::vector<u32>& arguments); /// Return most recently decoded frame - AVFrame* GetFrame(); - const AVFrame* GetFrame() const; + [[nodiscard]] AVFrame* GetFrame(); + [[nodiscard]] const AVFrame* GetFrame() const; private: /// Invoke codec to decode a frame |