[FFmpeg-devel] [PATCH] examples/muxing: remove useless instruction

Stefano Sabatini stefasab at gmail.com
Wed Jun 26 00:07:43 CEST 2013


Simpler and less confusing.
---
 doc/examples/muxing.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/doc/examples/muxing.c b/doc/examples/muxing.c
index 97e7fc4..b904916 100644
--- a/doc/examples/muxing.c
+++ b/doc/examples/muxing.c
@@ -78,7 +78,6 @@ static AVStream *add_stream(AVFormatContext *oc, AVCodec **codec,
 
     switch ((*codec)->type) {
     case AVMEDIA_TYPE_AUDIO:
-        st->id = 1;
         c->sample_fmt  = AV_SAMPLE_FMT_S16;
         c->bit_rate    = 64000;
         c->sample_rate = 44100;
-- 
1.8.1.2



More information about the ffmpeg-devel mailing list