diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-09-05 16:57:57 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-09-05 20:48:06 +0200 |
commit | 4dee4a4470cd28132cc9c96e00a6cc1080a4b27f (patch) | |
tree | fda056aa276be7189255e804a13db38db5c187d2 /libavcodec/rv10.c | |
parent | 0b890425e3547cd1818cbe24cadfbcf1b6c93e9a (diff) | |
download | ffmpeg-4dee4a4470cd28132cc9c96e00a6cc1080a4b27f.tar.gz |
avcodec/mpegvideo: Factor ff_mpv_decode_init() out
Reviewed-by: Benoit Fouet <benoit.fouet@free.fr>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/rv10.c')
-rw-r--r-- | libavcodec/rv10.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/rv10.c b/libavcodec/rv10.c index 4a5cf41496..7097b29d5e 100644 --- a/libavcodec/rv10.c +++ b/libavcodec/rv10.c @@ -475,10 +475,9 @@ static av_cold int rv10_decode_init(AVCodecContext *avctx) return ret; ff_mpv_decode_defaults(s); + ff_mpv_decode_init(s, avctx); - s->avctx = avctx; s->out_format = FMT_H263; - s->codec_id = avctx->codec_id; rv->orig_width = s->width = avctx->coded_width; |