SHA256
1
0
forked from pool/libquicktime
libquicktime/libquicktime-faad2.patch
Dave Plater fca26f18eb Accepting request 359967 from home:olh:branches:multimedia:libs
- Remove usage of some deprecated names to fix compile with ffmpeg3
  libquicktime-ffmpeg3.patch
- Fix compiler warning about incorrect memset args
  libquicktime-faad2.patch

OBS-URL: https://build.opensuse.org/request/show/359967
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libquicktime?expand=0&rev=60
2016-02-17 13:42:37 +00:00

18 lines
719 B
Diff

---
plugins/faad2/faad2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: libquicktime/plugins/faad2/faad2.c
===================================================================
--- libquicktime.orig/plugins/faad2/faad2.c
+++ libquicktime/plugins/faad2/faad2.c
@@ -155,7 +155,7 @@ static int decode_packet_faad2(quicktime
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);