summaryrefslogtreecommitdiffstats
path: root/spudec.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-07-11 09:39:06 +0000
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-02 04:14:43 +0200
commit4a466e95730e97e22c16688edfe19974fa9d7c90 (patch)
treedb61daca4503eaeb06a18db44d5bcfd58ec75150 /spudec.c
parentba08c0e690d627ff1d339f6e343b1944b5da723a (diff)
downloadmpv-4a466e95730e97e22c16688edfe19974fa9d7c90.tar.bz2
mpv-4a466e95730e97e22c16688edfe19974fa9d7c90.tar.xz
spudec.c: add missing orig_frame_width setting
10l, also assign the original width in spudec_new_scaled. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31696 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'spudec.c')
-rw-r--r--spudec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/spudec.c b/spudec.c
index 58018d5345..d655e6d5c6 100644
--- a/spudec.c
+++ b/spudec.c
@@ -1228,6 +1228,7 @@ void *spudec_new_scaled(unsigned int *palette, unsigned int frame_width, unsigne
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));