Message ID | AS1PR01MB9564024761F4FE0CAC0E91BC8F169@AS1PR01MB9564.eurprd01.prod.exchangelabs.com |
---|---|
State | Accepted |
Commit | 23cb87bb3c7ce71e67a86bb7a244619aec7b5bea |
Headers | show |
Series | [FFmpeg-devel] doc/examples/muxing: Remove outdated comment | expand |
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
andriy/make_armv7_RPi4 | success | Make finished |
andriy/make_fate_armv7_RPi4 | success | Make fate finished |
andriy/make_aarch64_jetson | success | Make finished |
andriy/make_fate_aarch64_jetson | success | Make fate finished |
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. */
This comment only applies to the scenario in which one uses the AVCodecContexts embedded in AVStreams. Yet this code sample stopped doing so in 9897d9f4e074cdc6c7f2409885ddefe300f18dc7; and the last major version bump even removed the public AVCodecContexts in AVStreams. So just remove this comment. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- doc/examples/muxing.c | 4 ---- 1 file changed, 4 deletions(-)