Commit e81e3ced authored by Baptiste Coudurier's avatar Baptiste Coudurier

do not set unneeded fourcc

Originally committed as revision 5886 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 7fe4744b
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment