ALT Linux Bugzilla
– Attachment 1319 Details for
Bug 8750
XMMS segfaults when adding files w/o extensions
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
Patch to fix this problem ;-)
faad2-xmms-plugin.patch (text/plain), 994 bytes, created by
Artem Delendik
on 2005-12-28 00:29:58 MSK
(
hide
)
Description:
Patch to fix this problem ;-)
Filename:
MIME Type:
Creator:
Artem Delendik
Created:
2005-12-28 00:29:58 MSK
Size:
994 bytes
patch
obsolete
>diff -ur faad2.orig/plugins/xmms/src/libmp4.c faad2/plugins/xmms/src/libmp4.c >--- faad2.orig/plugins/xmms/src/libmp4.c 2003-12-03 20:37:56 +0200 >+++ faad2/plugins/xmms/src/libmp4.c 2005-12-27 22:59:38 +0200 >@@ -108,19 +108,18 @@ > > static int mp4_isFile(char *filename) > { >- if(filename){ >- gchar* extention; >- >- extention = strrchr(filename, '.'); >- if (extention && >- !strcasecmp(extention, ".mp4") || // official extention >- !strcasecmp(extention, ".m4a") || // Apple mp4 extention >- !strcasecmp(extention, ".aac") // old MPEG2/4-AAC extention >- ){ >- return (1); >+ gchar *extension; >+ >+ if(filename){ >+ extension = strrchr(filename, '.'); >+ if (extension && >+ (!strcasecmp(extension, ".mp4") || // official extension >+ !strcasecmp(extension, ".m4a") || // Apple mp4 extension >+ !strcasecmp(extension, ".aac") // an old MPEG2/4-AAC extension >+ ) >+ ) return TRUE; > } >- } >- return(0); >+ return FALSE; > } > > static void mp4_about(void)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 8750
: 1319