summaryrefslogtreecommitdiff
path: root/src/libspudec
diff options
context:
space:
mode:
Diffstat (limited to 'src/libspudec')
-rw-r--r--src/libspudec/spu.c3
-rw-r--r--src/libspudec/xine_decoder.c4
2 files changed, 4 insertions, 3 deletions
diff --git a/src/libspudec/spu.c b/src/libspudec/spu.c
index 2270f6bb3..cd4219781 100644
--- a/src/libspudec/spu.c
+++ b/src/libspudec/spu.c
@@ -35,7 +35,7 @@
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
*
- * $Id: spu.c,v 1.71 2003/11/12 17:53:01 mroi Exp $
+ * $Id: spu.c,v 1.72 2003/11/26 01:03:31 miguelfreitas Exp $
*
*/
@@ -752,6 +752,7 @@ static void spudec_draw_picture (spudec_state_t *state, spudec_seq_t* seq, vo_ov
ovl->num_rle = rle - ovl->rle;
ovl->rgb_clut = 0;
+ ovl->unscaled = 0;
#ifdef LOG_DEBUG
printf ("spu: Num RLE=%d\n",ovl->num_rle);
printf ("spu: Date size=%d\n",ovl->data_size);
diff --git a/src/libspudec/xine_decoder.c b/src/libspudec/xine_decoder.c
index 1ef5bc841..3207f78dc 100644
--- a/src/libspudec/xine_decoder.c
+++ b/src/libspudec/xine_decoder.c
@@ -19,7 +19,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: xine_decoder.c,v 1.100 2003/10/23 20:12:33 mroi Exp $
+ * $Id: xine_decoder.c,v 1.101 2003/11/26 01:03:32 miguelfreitas Exp $
*
* stuff needed to turn libspu into a xine decoder plugin
*/
@@ -312,7 +312,7 @@ static spu_decoder_t *open_plugin (spu_decoder_class_t *class_gen, xine_stream_t
this->menu_handle = -1;
this->buttonN = 1;
- this->event.object.overlay = malloc(sizeof(vo_overlay_t));
+ this->event.object.overlay = xine_xmalloc(sizeof(vo_overlay_t));
pthread_mutex_init(&this->nav_pci_lock, NULL);