summaryrefslogtreecommitdiffstats
path: root/spudec.c
diff options
context:
space:
mode:
Diffstat (limited to 'spudec.c')
-rw-r--r--spudec.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/spudec.c b/spudec.c
index c1fbbf1be8..b74f077ed6 100644
--- a/spudec.c
+++ b/spudec.c
@@ -1205,11 +1205,11 @@ void *spudec_new_scaled(unsigned int *palette, unsigned int frame_width, unsigne
// For HD files in MKV the VobSub resolution can be higher though,
// see largeres_vobsub.mkv
if (this->orig_frame_width <= 720 && this->orig_frame_height <= 576) {
- this->orig_frame_width = 720;
- if (this->orig_frame_height == 480 || this->orig_frame_height == 240)
- this->orig_frame_height = 480;
- else
- this->orig_frame_height = 576;
+ this->orig_frame_width = 720;
+ if (this->orig_frame_height == 480 || this->orig_frame_height == 240)
+ this->orig_frame_height = 480;
+ else
+ this->orig_frame_height = 576;
}
}
else