]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/qsvdec.c
Merge commit '8c893aa3cd5f2d73896c72af330dcbfe299fbc5a'
[ffmpeg] / libavcodec / qsvdec.c
index abbede5d978a58af171ceeca4c049f4efe29b3f1..45bedf9a7b37704d4e6bfd5cb6f116c2d2c4f61e 100644 (file)
@@ -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)