[FFmpeg-user] FFmpeg compile error

Ram Shaffir ram at ram.sh
Thu Dec 10 04:33:18 EET 2020


> 
> > In file included from ./libavutil/bswap.h:38,
> >                   from ./libavutil/intreadwrite.h:25,
> >                   from libavfilter/vf_curves.c:25:
> > libavfilter/vf_curves.c: In function ‘parse_psfile’:
> > ./libavutil/aarch64/bswap.h:31:5: error: invalid 'asm': invalid operand for
> code 'w'
> >       __asm__("rev16 %w0, %w0" : "+r"(x));
> 
> Search for "error: invalid 'asm': invalid operand for code 'w'", that will say a
> lot about why this might be a problem, including at
> https://forum.mythtv.org/viewtopic.php?t=3606.
> 
> Please do a little research before just asking "what's wrong?".
> 
> Later,
> 
> z!


The solution that worked for me following Carl's reply could be found here: https://www.raspberrypi.org/forums/viewtopic.php?p=1776531#p1776531

Thx,
RS


More information about the ffmpeg-user mailing list