summaryrefslogtreecommitdiffstats
path: root/src/video_core/command_classes/nvdec.h
diff options
context:
space:
mode:
authorameerj <aj662@drexel.edu>2020-11-25 23:10:44 +0100
committerameerj <aj662@drexel.edu>2020-11-25 23:10:44 +0100
commiteab041866b7c766aa38258aecef8a00c03612459 (patch)
tree7ca30459bcdfb9a277c3afac9d37f7198c01f535 /src/video_core/command_classes/nvdec.h
parentMerge pull request #4946 from ameerj/alpha-test (diff)
downloadyuzu-eab041866b7c766aa38258aecef8a00c03612459.tar
yuzu-eab041866b7c766aa38258aecef8a00c03612459.tar.gz
yuzu-eab041866b7c766aa38258aecef8a00c03612459.tar.bz2
yuzu-eab041866b7c766aa38258aecef8a00c03612459.tar.lz
yuzu-eab041866b7c766aa38258aecef8a00c03612459.tar.xz
yuzu-eab041866b7c766aa38258aecef8a00c03612459.tar.zst
yuzu-eab041866b7c766aa38258aecef8a00c03612459.zip
Diffstat (limited to 'src/video_core/command_classes/nvdec.h')
-rw-r--r--src/video_core/command_classes/nvdec.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/video_core/command_classes/nvdec.h b/src/video_core/command_classes/nvdec.h
index eec4443f9..e4877c533 100644
--- a/src/video_core/command_classes/nvdec.h
+++ b/src/video_core/command_classes/nvdec.h
@@ -26,8 +26,7 @@ public:
void ProcessMethod(Method method, const std::vector<u32>& arguments);
/// Return most recently decoded frame
- [[nodiscard]] AVFrame* GetFrame();
- [[nodiscard]] const AVFrame* GetFrame() const;
+ [[nodiscard]] AVFramePtr GetFrame();
private:
/// Invoke codec to decode a frame