Commit 78cd0b33 authored by bellard's avatar bellard

removed unnecessary codec


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@2071 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 7102ef88
......@@ -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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment