[FFmpeg-devel] [PATCH] avcodec/mpegvideoenc: fix undefined negative left shift
michael at niedermayer.cc
Fri Oct 9 23:11:06 CEST 2015
On Fri, Oct 09, 2015 at 02:43:04PM -0400, Ganesh Ajjanagadde wrote:
> This should fix the first undefined behavior reported in:
> I can't reproduce the runtime behavior reported in the ticket, hence I
> can't confirm that this actually fixes the exact issue reported in the
> Regardless, I can confirm that this is a genuine issue, and that
> negative shifts can (and do) occur, fixed by this.
> Tested with FATE.
> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde at gmail.com>
> libavcodec/mpegvideo_enc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Everything should be made as simple as possible, but not simpler.
-- Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 181 bytes
Desc: Digital signature
More information about the ffmpeg-devel