aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2006-10-30 23:59:52 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2006-10-30 23:59:52 +0000
commit55bdd34d1a158d0c368ec00603d6c8818041c1c0 (patch)
tree8e05693c12c319658759b790c3f214b7a2b8148f
parent743311a1b080fd015edd69c0e4d6a3db3c584954 (diff)
downloadffmpeg-55bdd34d1a158d0c368ec00603d6c8818041c1c0.tar.gz
remove gcc warning about void * used in arithmetic
Originally committed as revision 6845 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index eb56d16126..51badad0a4 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -203,7 +203,7 @@ void av_destruct_packet(AVPacket *pkt)
*/
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);