mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-18 05:11:09 +00:00
examples/muxing: remove useless instruction
Simpler and less confusing.
This commit is contained in:
parent
ff995e2b6f
commit
3aa57e1582
@ -78,7 +78,6 @@ static AVStream *add_stream(AVFormatContext *oc, AVCodec **codec,
|
|||||||
|
|
||||||
switch ((*codec)->type) {
|
switch ((*codec)->type) {
|
||||||
case AVMEDIA_TYPE_AUDIO:
|
case AVMEDIA_TYPE_AUDIO:
|
||||||
st->id = 1;
|
|
||||||
c->sample_fmt = AV_SAMPLE_FMT_S16;
|
c->sample_fmt = AV_SAMPLE_FMT_S16;
|
||||||
c->bit_rate = 64000;
|
c->bit_rate = 64000;
|
||||||
c->sample_rate = 44100;
|
c->sample_rate = 44100;
|
||||||
|
Loading…
Reference in New Issue
Block a user