Advertisement
Guest User

planner

a guest
Mar 5th, 2009
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. --- /dev/null 2009-03-05 17:44:41.000000000 +0200
  2. +++ audio/moc/files/patch-decoder_plugins-ffmpeg-ffmpeg.c 2009-03-05 17:43:52.000000000 +0200
  3. -0,0 +1,21 @@
  4. +--- decoder_plugins/ffmpeg/ffmpeg.c.old
  5. ++++ decoder_plugins/ffmpeg/ffmpeg.c
  6. +@@ -345,6 +345,8 @@
  7. + strcpy (buf, "MP4");
  8. + else if (!strcasecmp(ext, "m4a"))
  9. + strcpy (buf, "M4A");
  10. ++ else if (!strcasecmp(ext, "ape"))
  11. ++ strcpy (buf, "APE");
  12. + }
  13. +
  14. + static int ffmpeg_our_format_ext (const char *ext)
  15. +@@ -353,7 +355,8 @@
  16. + || !strcasecmp(ext, "ra")
  17. + || !strcasecmp(ext, "m4a")
  18. + || !strcasecmp(ext, "mp4")
  19. +- || !strcasecmp(ext, "aac");
  20. ++ || !strcasecmp(ext, "aac")
  21. ++ || !strcasecmp(ext, "ape");
  22. + }
  23. +
  24. + static void ffmpeg_get_error (void *prv_data, struct decoder_error *error)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement