[vlc-commits] mediacodec: fix WMV3

Thomas Guillem git at videolan.org
Wed Jun 14 16:57:30 CEST 2017


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Wed Jun 14 16:56:27 2017 +0200| [601a0ced0976760bd6c8d94d1a5601d28a964335] | committer: Thomas Guillem

mediacodec: fix WMV3

WMV3 blocks don't need to be pre-processed like VC1 ones.
This fixes a regression introduced by 8ca8549c38ed9376534e579a21a66f70c91dff6e.

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

 modules/codec/omxil/mediacodec.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/modules/codec/omxil/mediacodec.c b/modules/codec/omxil/mediacodec.c
index 922719c538..5ce756344c 100644
--- a/modules/codec/omxil/mediacodec.c
+++ b/modules/codec/omxil/mediacodec.c
@@ -370,7 +370,6 @@ static int ParseVideoExtraWmv3(decoder_t *p_dec, uint8_t *p_extra, int i_extra)
     SetDWLE(&(p_data[12]), p_dec->fmt_in.video.i_height);
     SetDWLE(&(p_data[16]), p_dec->fmt_in.video.i_width);
 
-    p_dec->p_sys->pf_on_new_block = VideoVC1_OnNewBlock;
     return CSDDup(p_dec, p_data, sizeof(p_data));
 }
 



More information about the vlc-commits mailing list