summaryrefslogtreecommitdiff
path: root/src/libxinevdec/fli.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libxinevdec/fli.c')
-rw-r--r--src/libxinevdec/fli.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/libxinevdec/fli.c b/src/libxinevdec/fli.c
index 6c898093b..4aae7d418 100644
--- a/src/libxinevdec/fli.c
+++ b/src/libxinevdec/fli.c
@@ -23,7 +23,7 @@
* avoid when implementing a FLI decoder, visit:
* http://www.pcisys.net/~melanson/codecs/
*
- * $Id: fli.c,v 1.9 2002/11/12 18:40:53 miguelfreitas Exp $
+ * $Id: fli.c,v 1.10 2002/11/20 11:57:46 mroi Exp $
*/
#include <stdio.h>
@@ -421,7 +421,7 @@ static void fli_decode_data (video_decoder_t *this_gen,
return;
if (buf->decoder_flags & BUF_FLAG_HEADER) { /* need to initialize */
- this->stream->video_out->open (this->stream->video_out);
+ this->stream->video_out->open (this->stream->video_out, this->stream);
if(this->buf)
free(this->buf);
@@ -439,7 +439,7 @@ static void fli_decode_data (video_decoder_t *this_gen,
this->buf = malloc(this->bufsize);
this->size = 0;
- this->stream->video_out->open (this->stream->video_out);
+ this->stream->video_out->open (this->stream->video_out, this->stream);
this->decoder_ok = 1;
return;
@@ -482,7 +482,7 @@ static void fli_decode_data (video_decoder_t *this_gen,
}
}
- img->draw(img);
+ img->draw(img, this->stream);
img->free(img);
this->size = 0;
@@ -526,7 +526,7 @@ static void fli_dispose (video_decoder_t *this_gen) {
if (this->decoder_ok) {
this->decoder_ok = 0;
- this->stream->video_out->close(this->stream->video_out);
+ this->stream->video_out->close(this->stream->video_out, this->stream);
}
free (this_gen);
@@ -596,7 +596,7 @@ static decoder_info_t dec_info_video = {
plugin_info_t xine_plugin_info[] = {
/* type, API, "name", version, special_info, init_function */
- { PLUGIN_VIDEO_DECODER, 12, "fli", XINE_VERSION_CODE, &dec_info_video, init_plugin },
+ { PLUGIN_VIDEO_DECODER, 13, "fli", XINE_VERSION_CODE, &dec_info_video, init_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
};