changeset 1435:3d757766c236 libavformat

remove gcc warning about void * used in arithmetic
author bcoudurier
date Mon, 30 Oct 2006 23:59:52 +0000
parents cfc938c2abbe
children ea26e0864658
files utils.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/utils.c	Mon Oct 30 13:48:48 2006 +0000
+++ b/utils.c	Mon Oct 30 23:59:52 2006 +0000
@@ -203,7 +203,7 @@
  */
 int av_new_packet(AVPacket *pkt, int size)
 {
-    void *data;
+    uint8_t *data;
     if((unsigned)size > (unsigned)size + FF_INPUT_BUFFER_PADDING_SIZE)
         return AVERROR_NOMEM;
     data = av_malloc(size + FF_INPUT_BUFFER_PADDING_SIZE);