diff options
author | Mans Rullgard <mans@mansr.com> | 2011-07-26 12:23:43 +0100 |
---|---|---|
committer | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2012-06-02 19:22:50 -0400 |
commit | 850298ef2538f02cd4671a4cc5035026b35c7bf5 (patch) | |
tree | 4d3382552182e9f385d3d26c53f8bc2f33c071ea /libavformat/gopher.c | |
parent | 628b82294a6f51d0d9c51981d737c70e287e1ba3 (diff) | |
download | ffmpeg-850298ef2538f02cd4671a4cc5035026b35c7bf5.tar.gz |
x86: fix build with gcc 4.7
The upcoming gcc 4.7 has more advanced constant propagation
resulting some inline asm operands becoming constants and thus
emitted as literals, sometimes in contexts where this results
in invalid instructions.
This patch changes the constraints of the relevant operands
to "rm" thus forcing a valid type. While obviously suboptimal,
this is what older gcc versions already did, and there is no
change to the code generated with these.
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit da4c7cce2100a4e4f9276b4f17e260be47b53f41)
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavformat/gopher.c')
0 files changed, 0 insertions, 0 deletions