Re: [libav-devel] [PATCH] vc1dec: prevent a crash due missing pred_flag parameter

2013-01-10 Thread Vladimir Pantelic
mashiat.sar...@gmail.com wrote: The thing is, unless the picture is interlaced field coded, numref shouldn't be 1. The fact that numref is 1 implies that it's interlaced field coded picture and a pred_flag pointer has been passed to the function. Since this is happening for the sample Vladimir

[libav-devel] [PATCH] vc1dec: prevent a crash due missing pred_flag parameter

2013-01-09 Thread Luca Barbato
From: Vladimir Pantelic vlado...@gmail.com Handle pred_flag parameter not given to get_mvdata_interlaced() Signed-off-by: Vladimir Pantelic vlado...@gmail.com Signed-off-by: Luca Barbato lu_z...@gentoo.org --- Cleaned up a little. libavcodec/vc1dec.c | 10 +++--- 1 file changed, 7

Re: [libav-devel] [PATCH] vc1dec: prevent a crash due missing pred_flag parameter

2013-01-09 Thread mashiat.sar...@gmail.com
On 01/09/2013 11:04 AM, Luca Barbato wrote: From: Vladimir Pantelic vlado...@gmail.com Handle pred_flag parameter not given to get_mvdata_interlaced() Signed-off-by: Vladimir Pantelic vlado...@gmail.com Signed-off-by: Luca Barbato lu_z...@gentoo.org --- [...] The thing is, unless the