diff Plugins/Input/wma/libffwma/futils.c @ 255:ad1e65c6a854 trunk

[svn] Create some proper headers and include them. No more implicit declarations.
author chainsaw
date Sun, 04 Dec 2005 07:37:06 -0800
parents 0bea7509d6ba
children cf9b918d8177
line wrap: on
line diff
--- a/Plugins/Input/wma/libffwma/futils.c	Sun Dec 04 06:48:27 2005 -0800
+++ b/Plugins/Input/wma/libffwma/futils.c	Sun Dec 04 07:37:06 2005 -0800
@@ -18,6 +18,8 @@
  */
 #include "avformat.h"
 #include "avcodec.h"
+#include "cutils.h"
+#include "utils.h"
 
 #undef NDEBUG
 #include <assert.h>
@@ -1282,6 +1284,7 @@
     return (val != 0);
 }
 
+#if 0          /* Dead code; compiler assures me it isn't used anywhere */
 static int try_decode_frame(AVStream *st, const uint8_t *data, int size)
 {
     int16_t *samples;
@@ -1313,7 +1316,7 @@
     avcodec_close(&st->codec);
     return ret;
 }
-
+#endif
 
 /* absolute maximum size we read until we abort */
 #define MAX_READ_SIZE        5000000