Advertisement
Guest User

planner

a guest
Mar 5th, 2009
315
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --- decoder_plugins/ffmpeg/ffmpeg.c.old
  2. +++ decoder_plugins/ffmpeg/ffmpeg.c
  3.  -345,6 +345,8 @@
  4.                 strcpy (buf, "MP4");
  5.         else if (!strcasecmp(ext, "m4a"))
  6.                 strcpy (buf, "M4A");
  7. +       else if (!strcasecmp(ext, "ape"))
  8. +               strcpy (buf, "APE");
  9.  }
  10.  
  11.  static int ffmpeg_our_format_ext (const char *ext)
  12.  -353,7 +355,8 @@
  13.                 || !strcasecmp(ext, "ra")
  14.                 || !strcasecmp(ext, "m4a")
  15.                 || !strcasecmp(ext, "mp4")
  16. -               || !strcasecmp(ext, "aac");
  17. +               || !strcasecmp(ext, "aac")
  18. +               || !strcasecmp(ext, "ape");
  19.  }
  20.  
  21.  static void ffmpeg_get_error (void *prv_data, struct decoder_error *error)
Advertisement
RAW Paste Data Copied
Advertisement