Mercurial > audlegacy
comparison Plugins/Input/wma/libffwma/avio.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 |
comparison
equal
deleted
inserted
replaced
1397:86242883ddc7 | 1398:1ddaf20ab50e |
---|---|
67 up = up->next; | 67 up = up->next; |
68 } | 68 } |
69 err = -ENOENT; | 69 err = -ENOENT; |
70 goto fail; | 70 goto fail; |
71 found: | 71 found: |
72 uc = malloc(sizeof(URLContext) + strlen(filename)); | 72 uc = av_malloc(sizeof(URLContext) + strlen(filename)); |
73 if (!uc) { | 73 if (!uc) { |
74 err = -ENOMEM; | 74 err = -ENOMEM; |
75 goto fail; | 75 goto fail; |
76 } | 76 } |
77 strcpy(uc->filename, filename); | 77 strcpy(uc->filename, filename); |