From 2768c84a6abc3d59189fa3fc2de38426fd148bf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Wed, 13 Jun 2018 11:11:26 +0200 Subject: [PATCH 1/5] Fix sizeof call in faad2 --- plugins/faad2/faad2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/faad2/faad2.c b/plugins/faad2/faad2.c index 07cbcc8..ab3d66f 100644 --- a/plugins/faad2/faad2.c +++ b/plugins/faad2/faad2.c @@ -155,7 +155,7 @@ static int decode_packet_faad2(quicktime_t * file, int track, lqt_audio_buffer_t if(!quicktime_trak_read_packet(file, atrack->track, &codec->pkt)) return 0; - memset(&codec->frame_info, 0, sizeof(&codec->frame_info)); + memset(&codec->frame_info, 0, sizeof(codec->frame_info)); codec->samples = faacDecDecode(codec->dec, &codec->frame_info, codec->pkt.data, codec->pkt.data_len); -- 2.17.1