summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar bunnei2020-12-04 17:31:53 -0800
committerGravatar GitHub2020-12-04 17:31:53 -0800
commit1c8de850456e5d8373db7374657547696d5301e5 (patch)
tree12e24c3bfd0103deb3c599b571fc879dce998a7b /src
parentMerge pull request #5064 from lioncash/node-shadow (diff)
parentcodec: Remove deprecated usage of AVCodecContext::refcounted_frames (diff)
downloadyuzu-1c8de850456e5d8373db7374657547696d5301e5.tar.gz
yuzu-1c8de850456e5d8373db7374657547696d5301e5.tar.xz
yuzu-1c8de850456e5d8373db7374657547696d5301e5.zip
Merge pull request #5126 from lioncash/deprecated
codec: Remove deprecated usage of AVCodecContext::refcounted_frames
Diffstat (limited to '')
-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() {
67 } 67 }
68 68
69 av_codec_ctx = avcodec_alloc_context3(av_codec); 69 av_codec_ctx = avcodec_alloc_context3(av_codec);
70 av_codec_ctx->refcounted_frames = 1;
71 av_opt_set(av_codec_ctx->priv_data, "tune", "zerolatency", 0); 70 av_opt_set(av_codec_ctx->priv_data, "tune", "zerolatency", 0);
72 71
73 // TODO(ameerj): libavcodec gpu hw acceleration 72 // TODO(ameerj): libavcodec gpu hw acceleration