[Ffmpeg-cvslog] r6845 - trunk/libavformat/utils.c
bcoudurier
subversion
Tue Oct 31 00:59:52 CET 2006
Author: bcoudurier
Date: Tue Oct 31 00:59:52 2006
New Revision: 6845
Modified:
trunk/libavformat/utils.c
Log:
remove gcc warning about void * used in arithmetic
Modified: trunk/libavformat/utils.c
==============================================================================
--- trunk/libavformat/utils.c (original)
+++ trunk/libavformat/utils.c Tue Oct 31 00:59:52 2006
@@ -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);
More information about the ffmpeg-cvslog
mailing list