diff options
author | Ivan Kalvachev <ikalvachev@gmail.com> | 2003-11-12 01:19:36 +0000 |
---|---|---|
committer | Ivan Kalvachev <ikalvachev@gmail.com> | 2003-11-12 01:19:36 +0000 |
commit | c512b303c29c3ed20eddb1f61bc0418de6632891 (patch) | |
tree | d90e4f7da12cb21452355c7309128011e0659c16 /libavcodec/mpeg12.c | |
parent | e240a0bbe0c1277ca939f6e318759fb9189fa153 (diff) | |
download | ffmpeg-c512b303c29c3ed20eddb1f61bc0418de6632891.tar.gz |
mpegvideo is back
Originally committed as revision 2507 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpeg12.c')
-rw-r--r-- | libavcodec/mpeg12.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libavcodec/mpeg12.c b/libavcodec/mpeg12.c index e1f693e1da..7dfad6fed8 100644 --- a/libavcodec/mpeg12.c +++ b/libavcodec/mpeg12.c @@ -2655,6 +2655,20 @@ AVCodec mpeg2video_decoder = { .flush= ff_mpeg_flush, }; +//legacy decoder +AVCodec mpegvideo_decoder = { + "mpegvideo", + CODEC_TYPE_VIDEO, + CODEC_ID_MPEG2VIDEO, + sizeof(Mpeg1Context), + mpeg_decode_init, + NULL, + mpeg_decode_end, + mpeg_decode_frame, + CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED, + .flush= ff_mpeg_flush, +}; + #ifdef HAVE_XVMC static int mpeg_mc_decode_init(AVCodecContext *avctx){ Mpeg1Context *s; |