aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/avio_read_callback.c
Commit message (Collapse)AuthorAgeFilesLines
* examples: Add av_freep to avoid potential memory leakJiasheng Jiang13 days1-0/+1
| | | | | | | | | Add av_freep() to free avio_ctx_buffer if avio_alloc_context fails to avoid potential memory leak. Fixes: 5fc4dea39c ("examples: add avio_reading.c example") Signed-off-by: Jiasheng Jiang <jiashengjiangcool@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
* avutil/common: Don't auto-include mem.hAndreas Rheinhardt2024-03-311-0/+1
| | | | | | | | | | | There are lots of files that don't need it: The number of object files that actually need it went down from 2011 to 884 here. Keep it for external users in order to not cause breakages. Also improve the other headers a bit while just at it. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
* examples: apply doxy entries consistency fixesStefano Sabatini2023-02-111-3/+2
| | | | Use consistent format for the @file field and file description.
* examples: rename avio_reading to avio_read_callbackStefano Sabatini2023-02-111-0/+134
Adopt general scheme VERB_OBJECT.