projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0b468f
)
indent
author
Michael Niedermayer
<michaelni@gmx.at>
Fri, 11 Dec 2009 21:50:08 +0000
(21:50 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Fri, 11 Dec 2009 21:50:08 +0000
(21:50 +0000)
Originally committed as revision 20802 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/avpacket.c
patch
|
blob
|
history
diff --git
a/libavcodec/avpacket.c
b/libavcodec/avpacket.c
index
5a80325
..
c51260f
100644
(file)
--- a/
libavcodec/avpacket.c
+++ b/
libavcodec/avpacket.c
@@
-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;