aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/demux_decode.c
diff options
context:
space:
mode:
authorJiasheng Jiang <jiashengjiangcool@gmail.com>2025-08-02 23:28:48 +0000
committerMichael Niedermayer <michael@niedermayer.cc>2025-08-04 01:29:44 +0200
commit9ca58424ded24e931fed329174c28244b67d5670 (patch)
treeccb37973e701d10e9240c201d6b852c1e9b8941f /doc/examples/demux_decode.c
parentab040e25657436e88a62624b3751a583dfe4e123 (diff)
downloadffmpeg-9ca58424ded24e931fed329174c28244b67d5670.tar.gz
examples: Add av_freep to avoid potential memory leak
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>
Diffstat (limited to 'doc/examples/demux_decode.c')
0 files changed, 0 insertions, 0 deletions