changeset 31630:78260a246393

10l, also assign the original width in spudec_new_scaled.
author reimar
date Sun, 11 Jul 2010 09:39:06 +0000
parents 82958b5ad419
children 67f2fb3ff4c7
files spudec.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/spudec.c	Sun Jul 11 09:05:22 2010 +0000
+++ b/spudec.c	Sun Jul 11 09:39:06 2010 +0000
@@ -1228,6 +1228,7 @@
   spudec_handle_t *this = calloc(1, sizeof(spudec_handle_t));
   if (this){
     this->orig_frame_height = frame_height;
+    this->orig_frame_width  = frame_width;
     // set up palette:
     if (palette)
       memcpy(this->global_palette, palette, sizeof(this->global_palette));