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:
6ca0ac5
)
doc/examples/filtering_audio: init packet0.data
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 2 Dec 2013 23:00:04 +0000
(
00:00
+0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 2 Dec 2013 23:01:07 +0000
(
00:01
+0100)
Fixes use of uinitialized data and crash
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
doc/examples/filtering_audio.c
patch
|
blob
|
history
diff --git
a/doc/examples/filtering_audio.c
b/doc/examples/filtering_audio.c
index
5802d90
..
1d66ca3
100644
(file)
--- a/
doc/examples/filtering_audio.c
+++ b/
doc/examples/filtering_audio.c
@@
-220,6
+220,7
@@
int main(int argc, char **argv)
goto end;
/* read all packets */
+ packet0.data = NULL;
packet.data = NULL;
while (1) {
if (!packet0.data) {