summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-12-05 02:31:53 +0100
committerGitHub <noreply@github.com>2020-12-05 02:31:53 +0100
commit1c8de850456e5d8373db7374657547696d5301e5 (patch)
tree12e24c3bfd0103deb3c599b571fc879dce998a7b
parentMerge pull request #5064 from lioncash/node-shadow (diff)
parentcodec: Remove deprecated usage of AVCodecContext::refcounted_frames (diff)
downloadyuzu-1c8de850456e5d8373db7374657547696d5301e5.tar
yuzu-1c8de850456e5d8373db7374657547696d5301e5.tar.gz
yuzu-1c8de850456e5d8373db7374657547696d5301e5.tar.bz2
yuzu-1c8de850456e5d8373db7374657547696d5301e5.tar.lz
yuzu-1c8de850456e5d8373db7374657547696d5301e5.tar.xz
yuzu-1c8de850456e5d8373db7374657547696d5301e5.tar.zst
yuzu-1c8de850456e5d8373db7374657547696d5301e5.zip
-rw-r--r--src/video_core/command_classes/codecs/codec.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/video_core/command_classes/codecs/codec.cpp b/src/video_core/command_classes/codecs/codec.cpp
index 9a88f64e4..f547f5bd4 100644
--- a/src/video_core/command_classes/codecs/codec.cpp
+++ b/src/video_core/command_classes/codecs/codec.cpp
@@ -67,7 +67,6 @@ void Codec::Decode() {
}
av_codec_ctx = avcodec_alloc_context3(av_codec);
- av_codec_ctx->refcounted_frames = 1;
av_opt_set(av_codec_ctx->priv_data, "tune", "zerolatency", 0);
// TODO(ameerj): libavcodec gpu hw acceleration