diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-07-11 09:39:06 +0000 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-11-02 04:14:43 +0200 |
commit | 4a466e95730e97e22c16688edfe19974fa9d7c90 (patch) | |
tree | db61daca4503eaeb06a18db44d5bcfd58ec75150 /spudec.c | |
parent | ba08c0e690d627ff1d339f6e343b1944b5da723a (diff) | |
download | mpv-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.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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)); |