mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-05 06:40:03 +00:00
do not set unneeded fourcc
Originally committed as revision 5886 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
7fe4744bcd
commit
e81e3ced6d
@ -112,32 +112,27 @@ static int get_sindex(AVFormatContext *s, int id, int format) {
|
||||
case 4:
|
||||
st->codec->codec_type = CODEC_TYPE_VIDEO;
|
||||
st->codec->codec_id = CODEC_ID_MJPEG;
|
||||
st->codec->codec_tag = MKTAG('M', 'J', 'P', 'G');
|
||||
break;
|
||||
case 13:
|
||||
case 15:
|
||||
st->codec->codec_type = CODEC_TYPE_VIDEO;
|
||||
st->codec->codec_id = CODEC_ID_DVVIDEO;
|
||||
st->codec->codec_tag = MKTAG('d', 'v', 'c', ' ');
|
||||
break;
|
||||
case 14:
|
||||
case 16:
|
||||
st->codec->codec_type = CODEC_TYPE_VIDEO;
|
||||
st->codec->codec_id = CODEC_ID_DVVIDEO;
|
||||
st->codec->codec_tag = MKTAG('d', 'v', 'c', 'p');
|
||||
break;
|
||||
case 11:
|
||||
case 12:
|
||||
case 20:
|
||||
st->codec->codec_type = CODEC_TYPE_VIDEO;
|
||||
st->codec->codec_id = CODEC_ID_MPEG2VIDEO;
|
||||
st->codec->codec_tag = MKTAG('M', 'P', 'G', '2');
|
||||
break;
|
||||
case 22:
|
||||
case 23:
|
||||
st->codec->codec_type = CODEC_TYPE_VIDEO;
|
||||
st->codec->codec_id = CODEC_ID_MPEG1VIDEO;
|
||||
st->codec->codec_tag = MKTAG('M', 'P', 'G', '1');
|
||||
break;
|
||||
case 9:
|
||||
st->codec->codec_type = CODEC_TYPE_AUDIO;
|
||||
|
Loading…
Reference in New Issue
Block a user