diff options
Diffstat (limited to 'recipes-multimedia/mediasdk/files/0002-hevcd-Use-reinterpret_cast-for-style-alignment.patch')
-rw-r--r-- | recipes-multimedia/mediasdk/files/0002-hevcd-Use-reinterpret_cast-for-style-alignment.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/recipes-multimedia/mediasdk/files/0002-hevcd-Use-reinterpret_cast-for-style-alignment.patch b/recipes-multimedia/mediasdk/files/0002-hevcd-Use-reinterpret_cast-for-style-alignment.patch deleted file mode 100644 index 00a1ee28..00000000 --- a/recipes-multimedia/mediasdk/files/0002-hevcd-Use-reinterpret_cast-for-style-alignment.patch +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | From d1938a90c7e09f6c901b7ef556bd3e8c33a257aa Mon Sep 17 00:00:00 2001 | ||
2 | From: "Ung, Teng En" <teng.en.ung@intel.com> | ||
3 | Date: Tue, 19 Jan 2021 15:31:24 +0800 | ||
4 | Subject: [PATCH 2/2] [hevcd] Use reinterpret_cast for style alignment. | ||
5 | |||
6 | Upstream-Status: Accepted [https://github.com/Intel-Media-SDK/MediaSDK/pull/2383] | ||
7 | Signed-off-by: Ung, Teng En <teng.en.ung@intel.com> | ||
8 | --- | ||
9 | _studio/mfx_lib/decode/h265/src/mfx_h265_dec_decode.cpp | 2 +- | ||
10 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
11 | |||
12 | diff --git a/_studio/mfx_lib/decode/h265/src/mfx_h265_dec_decode.cpp b/_studio/mfx_lib/decode/h265/src/mfx_h265_dec_decode.cpp | ||
13 | index f346e8c..3069f04 100644 | ||
14 | --- a/_studio/mfx_lib/decode/h265/src/mfx_h265_dec_decode.cpp | ||
15 | +++ b/_studio/mfx_lib/decode/h265/src/mfx_h265_dec_decode.cpp | ||
16 | @@ -1110,7 +1110,7 @@ mfxStatus VideoDECODEH265::DecodeFrameCheck(mfxBitstream *bs, mfxFrameSurface1 * | ||
17 | |||
18 | if (extbuf) | ||
19 | { | ||
20 | - ((mfxExtDecodeErrorReport *)extbuf)->ErrorTypes = 0; | ||
21 | + reinterpret_cast<mfxExtDecodeErrorReport *>(extbuf)->ErrorTypes = 0; | ||
22 | src.SetExtBuffer(extbuf); | ||
23 | } | ||
24 | #endif | ||
25 | -- | ||
26 | 2.7.4 | ||
27 | |||