]> git.sesse.net Git - vlc/commitdiff
VDA: fix typo
authorJean-Baptiste Kempf <jb@videolan.org>
Tue, 21 Oct 2014 09:31:14 +0000 (11:31 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Tue, 21 Oct 2014 09:31:14 +0000 (11:31 +0200)
modules/codec/avcodec/vda.c

index 87ae1d0048279c9fb129685274b98fdd09e5483d..2af64e36cbd56204cde44ff2cafa40535948fdb6 100644 (file)
@@ -170,7 +170,7 @@ static int Setup( vlc_va_t *va, AVCodecContext *avctx, vlc_fourcc_t *pi_chroma )
     vlc_va_vda_t *p_vda = vlc_va_vda_Get( va );
 
     if( p_vda->hw_ctx.width == avctx->coded_width
-       && p_vda->hw_ctx.height == avctx->codec_height
+       && p_vda->hw_ctx.height == avctx->coded_height
        && p_vda->hw_ctx.decoder )
     {
         avctx->hwaccel_context = &p_vda->hw_ctx;