diff Plugins/Input/wma/libffwma/asf.c @ 1398:1ddaf20ab50e trunk

[svn] AltiVec support for WMA, by Luca "lu_zero" Barbato from Gentoo.
author chainsaw
date Thu, 13 Jul 2006 16:01:57 -0700
parents d539e5c5f730
children f12d7e208b43
line wrap: on
line diff
--- a/Plugins/Input/wma/libffwma/asf.c	Wed Jul 12 21:16:35 2006 -0700
+++ b/Plugins/Input/wma/libffwma/asf.c	Thu Jul 13 16:01:57 2006 -0700
@@ -757,7 +757,7 @@
 	    /* return packet */
 	    if (asf_st->ds_span > 1) {
 		/* packet descrambling */
-		unsigned char* newdata = malloc(asf_st->pkt.size);
+		unsigned char* newdata = av_malloc(asf_st->pkt.size);
 		if (newdata) {
 		    int offset = 0;
 		    while (offset < asf_st->pkt.size) {