diff --git a/doc/examples/muxing.c b/doc/examples/muxing.c index aea3197b4d..3acb778322 100644 --- a/doc/examples/muxing.c +++ b/doc/examples/muxing.c @@ -629,10 +629,6 @@ int main(int argc, char **argv) } } - /* Write the trailer, if any. The trailer must be written before you - * close the CodecContexts open when you wrote the header; otherwise - * av_write_trailer() may try to use memory that was freed on - * av_codec_close(). */ av_write_trailer(oc); /* Close each codec. */