diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-01-26 21:10:54 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-02-06 10:21:52 +0100 |
commit | 6ed9fc44badb256bdf235e700702bee46a9f6527 (patch) | |
tree | 8db8e0bbabb2022ab36238f1a8b199d025569d42 /libavcodec/svq1dec.c | |
parent | 99162f8d46db7ec02facae035c4ff573d2d8d612 (diff) | |
download | ffmpeg-6ed9fc44badb256bdf235e700702bee46a9f6527.tar.gz |
svq1: replace struct svq1_frame_size with an array.
It is used as an array in svq1enc, so this is more correct.
Diffstat (limited to 'libavcodec/svq1dec.c')
-rw-r--r-- | libavcodec/svq1dec.c | 4 |
1 files changed, 2 insertions, 2 deletions
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]; } } |