# HG changeset patch # User michael # Date 1260568208 0 # Node ID f044687761583d5168e52c8ae248827e25fd594d # Parent 158f0ea08e820b6623799ec8f528bf33be7d8c9a indent diff -r 158f0ea08e82 -r f04468776158 avpacket.c --- a/avpacket.c Fri Dec 11 21:49:30 2009 +0000 +++ b/avpacket.c Fri Dec 11 21:50:08 2009 +0000 @@ -49,9 +49,9 @@ { uint8_t *data= NULL; if((unsigned)size < (unsigned)size + FF_INPUT_BUFFER_PADDING_SIZE) - data = av_malloc(size + FF_INPUT_BUFFER_PADDING_SIZE); + data = av_malloc(size + FF_INPUT_BUFFER_PADDING_SIZE); if (data){ - memset(data + size, 0, FF_INPUT_BUFFER_PADDING_SIZE); + memset(data + size, 0, FF_INPUT_BUFFER_PADDING_SIZE); }else size=0;