diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-02-06 14:53:49 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-02-06 14:53:49 +0100 |
commit | 6e9f3f3b6522a8c1440bab66c8a2d85791fd12f7 (patch) | |
tree | 502e9b517e24b857069884bda22575eaf9c2779c /libavcodec/svq1dec.c | |
parent | fadf845973aeb47d1b0bf3eac552394fd8a71437 (diff) | |
parent | 238614de679a71970c20d7c3fee08a322967ec40 (diff) | |
download | ffmpeg-6e9f3f3b6522a8c1440bab66c8a2d85791fd12f7.tar.gz |
Merge commit '238614de679a71970c20d7c3fee08a322967ec40'
* commit '238614de679a71970c20d7c3fee08a322967ec40':
cdgraphics: do not rely on get_buffer() initializing the frame.
svq1: replace struct svq1_frame_size with an array.
vf_yadif: silence a warning.
Conflicts:
libavcodec/svq1dec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
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 573568374a..5b9a620591 100644 --- a/libavcodec/svq1dec.c +++ b/libavcodec/svq1dec.c @@ -575,8 +575,8 @@ static int svq1_decode_frame_header(AVCodecContext *avctx, AVFrame *frame) return AVERROR_INVALIDDATA; } else { /* get width, height from table */ - width = ff_svq1_frame_size_table[frame_size_code].width; - height = ff_svq1_frame_size_table[frame_size_code].height; + width = ff_svq1_frame_size_table[frame_size_code][0]; + height = ff_svq1_frame_size_table[frame_size_code][1]; } } |