mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
vc1dec: sanity check state used in get_mvdata_interlaced()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
dcd013a535
commit
b378a23395
@ -39,6 +39,7 @@
|
|||||||
#include "simple_idct.h"
|
#include "simple_idct.h"
|
||||||
#include "mathops.h"
|
#include "mathops.h"
|
||||||
#include "vdpau_internal.h"
|
#include "vdpau_internal.h"
|
||||||
|
#include "libavutil/avassert.h"
|
||||||
|
|
||||||
#undef NDEBUG
|
#undef NDEBUG
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
@ -1137,6 +1138,7 @@ static av_always_inline void get_mvdata_interlaced(VC1Context *v, int *dmv_x,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
av_assert0(index < esc);
|
||||||
if (extend_x)
|
if (extend_x)
|
||||||
offs_tab = offset_table2;
|
offs_tab = offset_table2;
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user