#11533 closed defect (fixed)

ffmpeg-3.4.14 "Cantor" does not build anymore (i686-w64-mingw32)

Reported by: Carlo Bramini Owned by:
Priority: normal Component: avcodec
Version: 3.4.13 Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description (last modified by Carlo Bramini)

After closing issue #10125, I tried to update my package to ffmpeg-3.4.14, which is the last one supporting Windows XP.
The error above is gone, but unfortunately another one happens:

CC      libavformat/adtsenc.o
{standard input}: Assembler messages:
{standard input}:376: Error: operand type mismatch for `shr'
{standard input}:441: Error: operand type mismatch for `shr'
{standard input}:505: Error: operand type mismatch for `shr'
make: *** [/home/carlo/a/mingw64-i686-ffmpeg-3.4.12-1.src/mingw64-i686-ffmpeg-3.4.12-1.noarch/src/ffmpeg-3.4.12/ffbuild/common.mak:60: libavformat/adtsenc.o] Error 1

I saw that this has also been fixen in latest sources, so I created a patch for fixing this error here too.
This patch just mades the same change, by clipping the immediate shift value to 31.
After that, the ffmpeg-3.4.14 "Cantor" can be compiled again.

EDIT: into the "version" field, I selected 3.4.13 because 3.4.14 is missing into the list.

Attachments (1)

mingw64-i686-ffmpeg-3.4.14-1.src.patch (666 bytes ) - added by Carlo Bramini 18 months ago.
Fix for this bug (for reference)

Download all attachments as: .zip

Change History (4)

comment:1 by Carlo Bramini, 18 months ago

Description: modified (diff)

by Carlo Bramini, 18 months ago

Fix for this bug (for reference)

comment:2 by Carlo Bramini, 18 months ago

Description: modified (diff)

comment:3 by James, 18 months ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.