[vlc-commits] avcodec: fix pointer conversion warning

Rémi Denis-Courmont git at videolan.org
Sat Mar 9 22:01:53 CET 2013


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Mar  9 22:59:44 2013 +0200| [ce54febaacea03cd9aeefdafa134af0e57bc6df3] | committer: Rémi Denis-Courmont

avcodec: fix pointer conversion warning

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ce54febaacea03cd9aeefdafa134af0e57bc6df3
---

 modules/codec/avcodec/encoder.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/avcodec/encoder.c b/modules/codec/avcodec/encoder.c
index 4904514..9a60b3b 100644
--- a/modules/codec/avcodec/encoder.c
+++ b/modules/codec/avcodec/encoder.c
@@ -96,7 +96,7 @@ struct encoder_sys_t
     /*
      * Common buffer mainly for audio as frame size in there needs usually be constant
      */
-    char *p_buffer;
+    uint8_t *p_buffer;
     size_t i_buffer_out;
 
     /*



More information about the vlc-commits mailing list