summaryrefslogtreecommitdiff
path: root/libavcodec/qsvdec.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2018-02-11 22:44:12 -0300
committerJames Almer <jamrial@gmail.com>2018-02-11 22:44:12 -0300
commit87faeb1e685eedc49d9cb6de14bab1cfc88ab655 (patch)
tree13f943fe2c1212e27d3bdac766c19d9b7cf39fee /libavcodec/qsvdec.c
parentb7d476b1384fe0e4a2c4d424d880d9c4f0b6f7ca (diff)
parent6829a079444e10818a847e153121fb458cc5c0a8 (diff)
Merge commit '6829a079444e10818a847e153121fb458cc5c0a8'
* commit '6829a079444e10818a847e153121fb458cc5c0a8': qsvdec: Relax the surface vs coded dimension check Merged-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/qsvdec.c')
-rw-r--r--libavcodec/qsvdec.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/qsvdec.c b/libavcodec/qsvdec.c
index abbede5d97..45bedf9a7b 100644
--- a/libavcodec/qsvdec.c
+++ b/libavcodec/qsvdec.c
@@ -149,9 +149,6 @@ static int qsv_decode_init(AVCodecContext *avctx, QSVContext *q)
else if (frames_hwctx->frame_type & MFX_MEMTYPE_VIDEO_MEMORY_DECODER_TARGET)
iopattern = MFX_IOPATTERN_OUT_VIDEO_MEMORY;
}
-
- frame_width = frames_hwctx->surfaces[0].Info.Width;
- frame_height = frames_hwctx->surfaces[0].Info.Height;
}
if (!iopattern)