From 6ed9fc44badb256bdf235e700702bee46a9f6527 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Sat, 26 Jan 2013 21:10:54 +0100 Subject: svq1: replace struct svq1_frame_size with an array. It is used as an array in svq1enc, so this is more correct. --- libavcodec/svq1dec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavcodec/svq1dec.c') diff --git a/libavcodec/svq1dec.c b/libavcodec/svq1dec.c index 515604222b..dc041dd0d7 100644 --- a/libavcodec/svq1dec.c +++ b/libavcodec/svq1dec.c @@ -579,8 +579,8 @@ static int svq1_decode_frame_header(AVCodecContext *avctx, AVFrame *frame) return AVERROR_INVALIDDATA; } else { /* get width, height from table */ - s->width = ff_svq1_frame_size_table[frame_size_code].width; - s->height = ff_svq1_frame_size_table[frame_size_code].height; + s->width = ff_svq1_frame_size_table[frame_size_code][0]; + s->height = ff_svq1_frame_size_table[frame_size_code][1]; } } -- cgit v1.2.3