提交 9f736ea2 编写于 作者: F Fabrice Bellard

removed unnecessary codec

Originally committed as revision 2071 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 a93b9dba
......@@ -63,9 +63,6 @@ AVStream *add_audio_stream(AVFormatContext *oc, int codec_id)
exit(1);
}
c = &st->codec;
avcodec_get_context_defaults(c);
c->codec_type = CODEC_TYPE_AUDIO;
/* put sample parameters */
......@@ -161,9 +158,6 @@ AVStream *add_video_stream(AVFormatContext *oc, int codec_id)
}
c = &st->codec;
avcodec_get_context_defaults(c);
c->codec_type = CODEC_TYPE_VIDEO;
/* put sample parameters */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册