aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/vaapi_encode.c
diff options
context:
space:
mode:
authorJiasheng Jiang <jiashengjiangcool@gmail.com>2025-08-03 20:09:38 +0000
committerMichael Niedermayer <michael@niedermayer.cc>2025-08-04 01:29:44 +0200
commitab040e25657436e88a62624b3751a583dfe4e123 (patch)
tree0a880507727c471d91d324b7f1d1142e63d15419 /doc/examples/vaapi_encode.c
parent008679ec162d1769afd706af5b1ce7a593f13f2b (diff)
downloadffmpeg-ab040e25657436e88a62624b3751a583dfe4e123.tar.gz
avcodec/tests/avpacket: Add av_packet_free() to avoid memory leak
Add av_packet_free() to free avpkt_clone and avpkt in the error paths to avoid potential memory leak. Fixes: da3c69a5a9 ("Added test for libavcodec/avpacket.c") Signed-off-by: Jiasheng Jiang <jiashengjiangcool@gmail.com> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'doc/examples/vaapi_encode.c')
0 files changed, 0 insertions, 0 deletions