Opened 3 years ago

Closed 2 years ago

#8008 closed defect (fixed)

Invalid left shift encoding adxenc

Reported by: Suhwan Owned by:
Priority: minor Component: avcodec
Version: git-master Keywords: adx ubsan
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no


Summary of the bug:
There're 3 invalid left shift at libavcodec/adxenc.c

How to reproduce:

% ffmpeg_g  -y -i tmp.ac3 -map 0 -c:v:118 pcm_s32le -c:v asv2 -disposition:a:53 xwd -disposition:v:37 h263 -vframes 17 -aframes 84 -r 71 -ab 483k -ar 48000 -level 20 -b:v 265 -strict 3 tmp_.adx

ffmpeg version N-94251-gf83b46e218 Copyright (c) 2000-2019 the FFmpeg developers
built with clang version 9.0.0

Attachments (2)

tmp.ac3 (53.5 KB ) - added by Suhwan 3 years ago.
gdb_log_8008 (4.2 KB ) - added by Suhwan 3 years ago.

Download all attachments as: .zip

Change History (3)

by Suhwan, 3 years ago

Attachment: tmp.ac3 added

by Suhwan, 3 years ago

Attachment: gdb_log_8008 added

comment:1 by Carl Eugen Hoyos, 2 years ago

Component: undeterminedavcodec
Keywords: adx added
Priority: normalminor
Reproduced by developer: set
Resolution: fixed
Status: newclosed

Fixed by Andreas Rheinhardt in 59a9d65e0d790821f88527a82569f56eb2f8a9be

Note: See TracTickets for help on using tickets.