[FFmpeg-cvslog] avcodec/x86/h264_qpel_10bit: locally define pb_0

Michael Niedermayer git at videolan.org
Tue Jun 24 02:21:02 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Jun 24 02:10:30 2014 +0200| [eab2509f8ccfaa5c8b61440192b8a6f8305b6541] | committer: Michael Niedermayer

avcodec/x86/h264_qpel_10bit: locally define pb_0

somehow old llvm-gcc manages to ignore the alignment from ff_pb_0 causing a crash on freebsd

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=eab2509f8ccfaa5c8b61440192b8a6f8305b6541
---

 libavcodec/x86/h264_qpel_10bit.asm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/x86/h264_qpel_10bit.asm b/libavcodec/x86/h264_qpel_10bit.asm
index e7ce1b8..d65660d 100644
--- a/libavcodec/x86/h264_qpel_10bit.asm
+++ b/libavcodec/x86/h264_qpel_10bit.asm
@@ -28,7 +28,7 @@ SECTION_RODATA 32
 
 cextern pw_16
 cextern pw_1
-cextern pb_0
+pb_0: times 32 db 0 ; we do not use cextern here as old llvm-gcc fails to align it correctly
 
 pw_pixel_max: times 8 dw ((1 << 10)-1)
 



More information about the ffmpeg-cvslog mailing list