Hi,

On Wed, Feb 29, 2012 at 1:13 PM, Ronald S. Bultje <[email protected]> wrote:
> On Tue, Feb 28, 2012 at 12:53 PM, Ronald S. Bultje <[email protected]> wrote:
>> From: "Ronald S. Bultje" <[email protected]>
>>
>> Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
>> CC: [email protected]
>> ---
>>  libavcodec/cabac_functions.h |    6 ++++--
>>  libavcodec/x86/cabac.h       |   12 ++++++++----
>>  2 files changed, 12 insertions(+), 6 deletions(-)
>
> Fails to compile on OSX x86-32, anyone knows why?
>
> /Users/rbultje/Projects/libav/libavcodec/h264_cabac.c: In function
> ‘decode_cabac_mb_intra4x4_pred_mode’:
> /Users/rbultje/Projects/libav/libavcodec/x86/cabac.h:93: error: can't
> find a register in class ‘GENERAL_REGS’ while reloading ‘asm’
> /Users/rbultje/Projects/libav/libavcodec/x86/cabac.h:93: error: can't
> find a register in class ‘GENERAL_REGS’ while reloading ‘asm’
> /Users/rbultje/Projects/libav/libavcodec/x86/cabac.h:93: error: can't
> find a register in class ‘GENERAL_REGS’ while reloading ‘asm’
> /Users/rbultje/Projects/libav/libavcodec/x86/cabac.h:93: error: can't
> find a register in class ‘GENERAL_REGS’ while reloading ‘asm’
> /Users/rbultje/Projects/libav/libavcodec/x86/cabac.h:93: error: ‘asm’
> operand has impossible constraints
> /Users/rbultje/Projects/libav/libavcodec/x86/cabac.h:93: error: ‘asm’
> operand has impossible constraints
> /Users/rbultje/Projects/libav/libavcodec/x86/cabac.h:93: error: ‘asm’
> operand has impossible constraints
> /Users/rbultje/Projects/libav/libavcodec/x86/cabac.h:93: error: ‘asm’
> operand has impossible constraints

Complete patch attached for reference (I missed a few places where the
extra argument to the macro is needed earlier, seems like our compile
deps are incomplete?).

Ronald

Attachment: 0001-h264-fix-overreads-in-cabac-reader.patch
Description: Binary data

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to