Re: [FFmpeg-devel] [PATCH] vc1dec: use get_bits_long and limit the read bits to 32

2015-06-26 Thread Andreas Cadhalpun
On 26.06.2015 01:11, Michael Niedermayer wrote: > On Thu, Jun 25, 2015 at 10:54:17PM +0200, Andreas Cadhalpun wrote: >> get_bits should not be used with more than 25 bits. >> >> Signed-off-by: Andreas Cadhalpun >> --- >> libavcodec/vc1dec.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [FFmpeg-devel] [PATCH] vc1dec: use get_bits_long and limit the read bits to 32

2015-06-25 Thread Michael Niedermayer
On Thu, Jun 25, 2015 at 10:54:17PM +0200, Andreas Cadhalpun wrote: > get_bits should not be used with more than 25 bits. > > Signed-off-by: Andreas Cadhalpun > --- > libavcodec/vc1dec.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1

[FFmpeg-devel] [PATCH] vc1dec: use get_bits_long and limit the read bits to 32

2015-06-25 Thread Andreas Cadhalpun
get_bits should not be used with more than 25 bits. Signed-off-by: Andreas Cadhalpun --- libavcodec/vc1dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c index 3fa39a5..d7a0cef 100644 --- a/libavcodec/vc1dec.c +++ b/libavcodec/vc1d