On 20/07/15 11:50, Janne Grunau wrote: > Avoids a relocation which might end out of range for thumb2. > > Reported-By: Ludovic Fauvet <[email protected]> > Bug-Id: https://bugs.webkit.org/show_bug.cgi?id=137022 > CC: [email protected] > --- > libavcodec/arm/videodsp_armv5te.S | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/libavcodec/arm/videodsp_armv5te.S > b/libavcodec/arm/videodsp_armv5te.S > index bbd0a61..0510019 100644 > --- a/libavcodec/arm/videodsp_armv5te.S > +++ b/libavcodec/arm/videodsp_armv5te.S > @@ -23,9 +23,10 @@ > #include "libavutil/arm/asm.S" > > function ff_prefetch_arm, export=1 > +1: > subs r2, r2, #1 > pld [r0] > add r0, r0, r1 > - bne X(ff_prefetch_arm) > + bne 1b > bx lr > endfunc >
Probably ok if tested. _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
