[FFmpeg-cvslog] examples/muxing: remove useless instruction

Stefano Sabatini git at videolan.org
Wed Jun 26 23:31:24 CEST 2013


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Wed Jun 26 00:03:15 2013 +0200| [3aa57e1582afd1ac5f45dfede1c774d44bd011c7] | committer: Stefano Sabatini

examples/muxing: remove useless instruction

Simpler and less confusing.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3aa57e1582afd1ac5f45dfede1c774d44bd011c7
---

 doc/examples/muxing.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/doc/examples/muxing.c b/doc/examples/muxing.c
index 303064a..d1a290e 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;



More information about the ffmpeg-cvslog mailing list