summaryrefslogtreecommitdiff
path: root/src/libxinevdec/msrle.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libxinevdec/msrle.c')
-rw-r--r--src/libxinevdec/msrle.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libxinevdec/msrle.c b/src/libxinevdec/msrle.c
index 438901049..8eded855b 100644
--- a/src/libxinevdec/msrle.c
+++ b/src/libxinevdec/msrle.c
@@ -21,7 +21,7 @@
* For more information on the MS RLE format, visit:
* http://www.pcisys.net/~melanson/codecs/
*
- * $Id: msrle.c,v 1.14 2002/12/21 03:08:34 tmmm Exp $
+ * $Id: msrle.c,v 1.15 2002/12/21 12:56:48 miguelfreitas Exp $
*/
#include <stdio.h>
@@ -191,7 +191,7 @@ static void msrle_decode_data (video_decoder_t *this_gen,
/* load the palette */
if ((buf->decoder_flags & BUF_FLAG_SPECIAL) &&
(buf->decoder_info[1] == BUF_SPECIAL_PALETTE)) {
- palette = (palette_entry_t *)buf->decoder_info[3];
+ palette = (palette_entry_t *)buf->decoder_info_ptr[2];
for (i = 0; i < buf->decoder_info[2]; i++) {
this->yuv_palette[i * 4 + 0] =
COMPUTE_Y(palette[i].r, palette[i].g, palette[i].b);
@@ -366,6 +366,6 @@ static decoder_info_t dec_info_video = {
plugin_info_t xine_plugin_info[] = {
/* type, API, "name", version, special_info, init_function */
- { PLUGIN_VIDEO_DECODER, 13, "msrle", XINE_VERSION_CODE, &dec_info_video, init_plugin },
+ { PLUGIN_VIDEO_DECODER, 14, "msrle", XINE_VERSION_CODE, &dec_info_video, init_plugin },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
};