avidec: avoid infinite loop due to negative ast->sample_size
[ffmpeg.git] / libavcodec / arm / videodsp_armv5te.S
index 55bcce5..aff1161 100644 (file)
 #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