Commit 210a78ae authored by Michael Niedermayer's avatar Michael Niedermayer

doc/examples/filtering_audio: init packet0.data

Fixes use of uinitialized data and crash
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 6ca0ac5e
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment