[FFmpeg-devel] Allow h264pred_init_arm.c to compile.

bpringlemeir at yahoo.com bpringlemeir at yahoo.com
Fri Apr 15 19:15:23 CEST 2011


Allow h264pred_init_arm.c to compile.

SOB: Bill Pringlemeir <bpringlemeir at yahoo.com>

>From 71b29af9c06ae252f52120bb48083038f864b613 Mon Sep 17 00:00:00 2001
From: Bill Pringlemeir <bpringlemeir at yahoo.com>
Date: Fri, 15 Apr 2011 13:09:51 -0400
Subject: [PATCH] Allow compile (on ARMV5TE at least).

---
 libavcodec/arm/h264pred_init_arm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/arm/h264pred_init_arm.c b/libavcodec/arm/h264pred_init_arm.c
index 142f4b0..5b11b7d 100644
--- a/libavcodec/arm/h264pred_init_arm.c
+++ b/libavcodec/arm/h264pred_init_arm.c
@@ -74,7 +74,7 @@ static void ff_h264_pred_init_neon(H264PredContext *h, int codec_id, const int b
         h->pred16x16[PLANE_PRED8x8  ] = ff_pred16x16_plane_neon;
 }
 
-void ff_h264_pred_init_arm(H264PredContext *h, int codec_id, bit_depth)
+void ff_h264_pred_init_arm(H264PredContext *h, int codec_id, const int bit_depth)
 {
     if (HAVE_NEON)    ff_h264_pred_init_neon(h, codec_id, bit_depth);
 }
-- 
1.7.2.5


More information about the ffmpeg-devel mailing list