[vlc-commits] VDA: fix typo
Jean-Baptiste Kempf
git at videolan.org
Tue Oct 21 11:31:26 CEST 2014
vlc | branch: master | Jean-Baptiste Kempf <jb at 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;
More information about the vlc-commits
mailing list