OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ccc6ce
)
lavc/avpacket: Initialize a variable in error path.
author
Carl Eugen Hoyos
<cehoyos@ag.or.at>
Thu, 16 Feb 2017 23:46:14 +0000
(
00:46
+0100)
committer
Carl Eugen Hoyos
<cehoyos@ag.or.at>
Fri, 17 Feb 2017 09:31:29 +0000
(10:31 +0100)
Fixes ticket #6153.
Tested-by: Tyson Smith
libavcodec/avpacket.c
patch
|
blob
|
history
diff --git
a/libavcodec/avpacket.c
b/libavcodec/avpacket.c
index
24b4efb
..
8e028a2
100644
(file)
--- a/
libavcodec/avpacket.c
+++ b/
libavcodec/avpacket.c
@@
-348,6
+348,8
@@
uint8_t *av_packet_get_side_data(AVPacket *pkt, enum AVPacketSideDataType type,
return pkt->side_data[i].data;
}
}
+ if (size)
+ *size = 0;
return NULL;
}