diff options
author | ameerj <aj662@drexel.edu> | 2020-11-25 23:10:44 +0100 |
---|---|---|
committer | ameerj <aj662@drexel.edu> | 2020-11-25 23:10:44 +0100 |
commit | eab041866b7c766aa38258aecef8a00c03612459 (patch) | |
tree | 7ca30459bcdfb9a277c3afac9d37f7198c01f535 /src/video_core/command_classes/nvdec.cpp | |
parent | Merge pull request #4946 from ameerj/alpha-test (diff) | |
download | yuzu-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.cpp')
-rw-r--r-- | src/video_core/command_classes/nvdec.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/video_core/command_classes/nvdec.cpp b/src/video_core/command_classes/nvdec.cpp index 8ca7a7b06..79e1f4e13 100644 --- a/src/video_core/command_classes/nvdec.cpp +++ b/src/video_core/command_classes/nvdec.cpp @@ -29,11 +29,7 @@ void Nvdec::ProcessMethod(Method method, const std::vector<u32>& arguments) { } } -AVFrame* Nvdec::GetFrame() { - return codec->GetCurrentFrame(); -} - -const AVFrame* Nvdec::GetFrame() const { +AVFramePtr Nvdec::GetFrame() { return codec->GetCurrentFrame(); } |