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 m

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 Handle pred_flag parameter not given to get_mvdata_interlaced() Signed-off-by: Vladimir Pantelic Signed-off-by: Luca Barbato --- [...] The thing is, unless the picture is interlaced field coded, numref shouldn't be 1. Th

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

2013-01-09 Thread Luca Barbato
From: Vladimir Pantelic Handle pred_flag parameter not given to get_mvdata_interlaced() Signed-off-by: Vladimir Pantelic Signed-off-by: Luca Barbato --- Cleaned up a little. libavcodec/vc1dec.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/libavcodec/vc1dec.