mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
indent
Originally committed as revision 20802 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
a0b468f5db
commit
47a81dad92
1 changed files with 2 additions and 2 deletions
|
|
@ -49,9 +49,9 @@ int av_new_packet(AVPacket *pkt, int size)
|
|||
{
|
||||
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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue