[11/24] lagarith: Add ff_ prefix to lag_rac_init

Message ID 1329310724-44294-12-git-send-email-martin@martin.st
State Committed
Commit e9ca85e714a0d7406732df39e177c5d28bc02937
Headers show

Commit Message

Martin Storsjö Feb. 15, 2012, 12:58 p.m.
---
 libavcodec/lagarith.c    |    2 +-
 libavcodec/lagarithrac.c |    2 +-
 libavcodec/lagarithrac.h |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

Comments

Ronald Bultje Feb. 15, 2012, 6:50 p.m. | #1
Hi,

On Wed, Feb 15, 2012 at 4:58 AM, Martin Storsjö <martin@martin.st> wrote:
> ---
>  libavcodec/lagarith.c    |    2 +-
>  libavcodec/lagarithrac.c |    2 +-
>  libavcodec/lagarithrac.h |    2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)

OK.

Ronald

Patch

diff --git a/libavcodec/lagarith.c b/libavcodec/lagarith.c
index 71b5bd9..3a47f4c 100644
--- a/libavcodec/lagarith.c
+++ b/libavcodec/lagarith.c
@@ -382,7 +382,7 @@  static int lag_decode_arith_plane(LagarithContext *l, uint8_t *dst,
         if (lag_read_prob_header(&rac, &gb) < 0)
             return -1;
 
-        lag_rac_init(&rac, &gb, length - stride);
+        ff_lag_rac_init(&rac, &gb, length - stride);
 
         for (i = 0; i < height; i++)
             read += lag_decode_line(l, &rac, dst + (i * stride), width,
diff --git a/libavcodec/lagarithrac.c b/libavcodec/lagarithrac.c
index ab7a600..33dc6e4 100644
--- a/libavcodec/lagarithrac.c
+++ b/libavcodec/lagarithrac.c
@@ -30,7 +30,7 @@ 
 #include "get_bits.h"
 #include "lagarithrac.h"
 
-void lag_rac_init(lag_rac *l, GetBitContext *gb, int length)
+void ff_lag_rac_init(lag_rac *l, GetBitContext *gb, int length)
 {
     int i, j;
 
diff --git a/libavcodec/lagarithrac.h b/libavcodec/lagarithrac.h
index b942199..aa36d38 100644
--- a/libavcodec/lagarithrac.h
+++ b/libavcodec/lagarithrac.h
@@ -51,7 +51,7 @@  typedef struct lag_rac {
     uint8_t  range_hash[256];   /**< Hash table mapping upper byte to approximate symbol. */
 } lag_rac;
 
-void lag_rac_init(lag_rac *l, GetBitContext *gb, int length);
+void ff_lag_rac_init(lag_rac *l, GetBitContext *gb, int length);
 
 /* TODO: Optimize */
 static inline void lag_rac_refill(lag_rac *l)