Re: [FFmpeg-devel] [PATCH 2/3] ffmdec: cast state to unsigned for left shift

2016-01-02 Thread Andreas Cadhalpun
On 02.01.2016 18:59, Michael Niedermayer wrote: > On Sat, Jan 02, 2016 at 05:12:13PM +0100, Andreas Cadhalpun wrote: >> ffmdec.c |5 +++-- >> 1 file changed, 3 insertions(+), 2 deletions(-) >> 6c3ca0f947737208725d30a735deaea2a95531ba >> 0002-ffmdec-change-type-of-state-and-id-to-unsigned.pat

Re: [FFmpeg-devel] [PATCH 2/3] ffmdec: cast state to unsigned for left shift

2016-01-02 Thread Michael Niedermayer
On Sat, Jan 02, 2016 at 05:12:13PM +0100, Andreas Cadhalpun wrote: > On 02.01.2016 16:56, Nicolas George wrote: > > Le tridi 13 nivôse, an CCXXIV, Andreas Cadhalpun a écrit : > >> This fixes ubsan runtime error: left shift by 8 places cannot be > >> represented in type 'int' > >> > >> Signed-off-by

Re: [FFmpeg-devel] [PATCH 2/3] ffmdec: cast state to unsigned for left shift

2016-01-02 Thread Andreas Cadhalpun
On 02.01.2016 16:56, Nicolas George wrote: > Le tridi 13 nivôse, an CCXXIV, Andreas Cadhalpun a écrit : >> This fixes ubsan runtime error: left shift by 8 places cannot be >> represented in type 'int' >> >> Signed-off-by: Andreas Cadhalpun >> --- >> libavformat/ffmdec.c | 2 +- >> 1 file changed,

Re: [FFmpeg-devel] [PATCH 2/3] ffmdec: cast state to unsigned for left shift

2016-01-02 Thread Nicolas George
Le tridi 13 nivôse, an CCXXIV, Andreas Cadhalpun a écrit : > This fixes ubsan runtime error: left shift by 8 places cannot be > represented in type 'int' > > Signed-off-by: Andreas Cadhalpun > --- > libavformat/ffmdec.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/li

[FFmpeg-devel] [PATCH 2/3] ffmdec: cast state to unsigned for left shift

2016-01-02 Thread Andreas Cadhalpun
This fixes ubsan runtime error: left shift by 8 places cannot be represented in type 'int' Signed-off-by: Andreas Cadhalpun --- libavformat/ffmdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/ffmdec.c b/libavformat/ffmdec.c index 7b2d0d7..3162354 100644 --- a