demux_mkv: fix mpeg2 mapping

It's well possible that we've always ended up invoking the
AV_CODEC_ID_MPEG1VIDEO codec, but it's hard to tell. Mangling everything
through FourCCs (and then back) makes it hard to analyze. Also,
libavformat's Matroska demuxer uses AV_CODEC_ID_MPEG2VIDEO here, so it
should be quite safe to do anyway.
This commit is contained in:
wm4 2015-06-13 22:02:09 +02:00
parent fd88fb70af
commit d50e01d0c6
1 changed files with 1 additions and 1 deletions

View File

@ -1201,7 +1201,7 @@ typedef struct {
static const videocodec_info_t vinfo[] = {
{MKV_V_MJPEG, "mjpeg", 1},
{MKV_V_MPEG1, "mpeg1video", 0},
{MKV_V_MPEG2, "mpeg1video", 0},
{MKV_V_MPEG2, "mpeg2video", 0},
{MKV_V_MPEG4_SP, "mpeg4", 1},
{MKV_V_MPEG4_ASP, "mpeg4", 1},
{MKV_V_MPEG4_AP, "mpeg4", 1},