mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-03 10:27:45 +00:00
removed unnecessary codec
Originally committed as revision 2071 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
a93b9dbac2
commit
9f736ea256
1 changed files with 0 additions and 6 deletions
|
@ -63,9 +63,6 @@ AVStream *add_audio_stream(AVFormatContext *oc, int codec_id)
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
c = &st->codec;
|
c = &st->codec;
|
||||||
|
|
||||||
avcodec_get_context_defaults(c);
|
|
||||||
|
|
||||||
c->codec_type = CODEC_TYPE_AUDIO;
|
c->codec_type = CODEC_TYPE_AUDIO;
|
||||||
|
|
||||||
/* put sample parameters */
|
/* put sample parameters */
|
||||||
|
@ -161,9 +158,6 @@ AVStream *add_video_stream(AVFormatContext *oc, int codec_id)
|
||||||
}
|
}
|
||||||
|
|
||||||
c = &st->codec;
|
c = &st->codec;
|
||||||
|
|
||||||
avcodec_get_context_defaults(c);
|
|
||||||
|
|
||||||
c->codec_type = CODEC_TYPE_VIDEO;
|
c->codec_type = CODEC_TYPE_VIDEO;
|
||||||
|
|
||||||
/* put sample parameters */
|
/* put sample parameters */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue