Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- /dev/null 2009-03-05 17:44:41.000000000 +0200
- +++ audio/moc/files/patch-decoder_plugins-ffmpeg-ffmpeg.c 2009-03-05 17:43:52.000000000 +0200
- -0,0 +1,21 @@
- +--- decoder_plugins/ffmpeg/ffmpeg.c.old
- ++++ decoder_plugins/ffmpeg/ffmpeg.c
- +@@ -345,6 +345,8 @@
- + strcpy (buf, "MP4");
- + else if (!strcasecmp(ext, "m4a"))
- + strcpy (buf, "M4A");
- ++ else if (!strcasecmp(ext, "ape"))
- ++ strcpy (buf, "APE");
- + }
- +
- + static int ffmpeg_our_format_ext (const char *ext)
- +@@ -353,7 +355,8 @@
- + || !strcasecmp(ext, "ra")
- + || !strcasecmp(ext, "m4a")
- + || !strcasecmp(ext, "mp4")
- +- || !strcasecmp(ext, "aac");
- ++ || !strcasecmp(ext, "aac")
- ++ || !strcasecmp(ext, "ape");
- + }
- +
- + static void ffmpeg_get_error (void *prv_data, struct decoder_error *error)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement