vlc | branch: master | Jean-Baptiste Kempf <j...@videolan.org> | Tue Oct 21 
11:31:14 2014 +0200| [df9c1aa43840a482231afa4fe51a96f6d5a25eab] | committer: 
Jean-Baptiste Kempf

VDA: fix typo

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=df9c1aa43840a482231afa4fe51a96f6d5a25eab
---

 modules/codec/avcodec/vda.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/avcodec/vda.c b/modules/codec/avcodec/vda.c
index 87ae1d0..2af64e3 100644
--- a/modules/codec/avcodec/vda.c
+++ b/modules/codec/avcodec/vda.c
@@ -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;

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to