diff avcodec.h @ 2552:9a7770ebed14 libavcodec

AVOption removial patch from (James A. Morrison >ja2morri csclub.uwaterloo ca>) with minor changes from me
author michael
date Sun, 06 Mar 2005 23:20:53 +0000
parents 8bf96ac84409
children e5af3bc1d038
line wrap: on
line diff
--- a/avcodec.h	Sun Mar 06 23:02:25 2005 +0000
+++ b/avcodec.h	Sun Mar 06 23:20:53 2005 +0000
@@ -17,7 +17,7 @@
 
 #define FFMPEG_VERSION_INT     0x000409
 #define FFMPEG_VERSION         "0.4.9-pre1"
-#define LIBAVCODEC_BUILD       4746
+#define LIBAVCODEC_BUILD       4747
 
 #define LIBAVCODEC_VERSION_INT FFMPEG_VERSION_INT
 #define LIBAVCODEC_VERSION     FFMPEG_VERSION
@@ -1818,15 +1818,6 @@
 } AVOption;
 
 /**
- * Parse option(s) and sets fields in passed structure
- * @param strct	structure where the parsed results will be written
- * @param list  list with AVOptions
- * @param opts	string with options for parsing
- */
-int avoption_parse(void* strct, const AVOption* list, const char* opts);
-
-
-/**
  * AVCodec.
  */
 typedef struct AVCodec {
@@ -1840,7 +1831,7 @@
     int (*decode)(AVCodecContext *, void *outdata, int *outdata_size,
                   uint8_t *buf, int buf_size);
     int capabilities;
-    const AVOption *options;
+    void *dummy; // FIXME remove next time we break binary compatibility
     struct AVCodec *next;
     void (*flush)(AVCodecContext *);
     const AVRational *supported_framerates; ///array of supported framerates, or NULL if any, array is terminated by {0,0}