summaryrefslogtreecommitdiff
path: root/src/libxinevdec/wc3video.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libxinevdec/wc3video.c')
-rw-r--r--src/libxinevdec/wc3video.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/libxinevdec/wc3video.c b/src/libxinevdec/wc3video.c
index 0fe835b7e..43ae0a873 100644
--- a/src/libxinevdec/wc3video.c
+++ b/src/libxinevdec/wc3video.c
@@ -22,7 +22,7 @@
* For more information on the WC3 Movie format, visit:
* http://www.pcisys.net/~melanson/codecs/
*
- * $Id: wc3video.c,v 1.1 2002/09/04 02:52:16 tmmm Exp $
+ * $Id: wc3video.c,v 1.2 2002/09/04 23:31:11 guenter Exp $
*/
#include <stdio.h>
@@ -31,9 +31,9 @@
#include <sys/types.h>
#include <unistd.h>
-#include "video_out.h"
#include "buffer.h"
#include "xine_internal.h"
+#include "video_out.h"
#include "xineutils.h"
#include "bswap.h"
@@ -433,7 +433,7 @@ static void wc3video_decode_data (video_decoder_t *this_gen,
img = this->video_out->get_frame (this->video_out,
WC3_WIDTH, WC3_HEIGHT,
- 42, IMGFMT_YUY2, VO_BOTH_FIELDS);
+ 42, XINE_IMGFMT_YUY2, VO_BOTH_FIELDS);
img->duration = this->video_step;
img->pts = buf->pts;
@@ -545,8 +545,6 @@ video_decoder_t *init_video_decoder_plugin (int iface_version, xine_t *xine) {
this = (wc3video_decoder_t *) malloc (sizeof (wc3video_decoder_t));
memset(this, 0, sizeof (wc3video_decoder_t));
- this->video_decoder.interface_version = iface_version;
- this->video_decoder.can_handle = wc3video_can_handle;
this->video_decoder.init = wc3video_init;
this->video_decoder.decode_data = wc3video_decode_data;
this->video_decoder.flush = wc3video_flush;