forked from pool/libquicktime
e93eddf4dc
* remove generated file that got committed somehow * cleanup - remove all the .cvsignore files * remove another .cvsignore file * remove typo * add a bunch more generated files to ignore * more files added * add more files * switch to .gitignore from .cvsignore * remove m4/avcodec.m4, not needed with changes to configure.ac * don't need avcodec.m4 with changes to configure.ac - Remove merged patches: * libquicktime-1.2.4-integer_overflow.patch * libquicktime-1.2.4-multiple_vulnerabilities.patch - Remove all local patches: * libquicktime-faad2.patch * libquicktime-1.2.4-ffmpeg2.patch * libquicktime-1.2.4-ffmpeg29.patch * libquicktime-1.2.4-ffmpeg4.patch - Readd patches to be rebased from the git: * 0001-Fix-sizeof-call-in-faad2.patch * 0002-Allow-any-avcodec-to-be-detected-by-configure.patch * 0003-Fix-AVCODEC_HEADER-macro-replacement.patch * 0004-Ignore-prepared-patches-in-git-checkout.patch * 0005-ffmpeg4-conversion-fixing-the-erroring-ones-only.patch - Switch to Git snapshots as upstream moved to git, use _service - Remove redone patch: * libquicktime-ffmpeg3.patch OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libquicktime?expand=0&rev=84
26 lines
945 B
Diff
26 lines
945 B
Diff
From 2768c84a6abc3d59189fa3fc2de38426fd148bf3 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= <tchvatal@suse.com>
|
|
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
|
|
|