[FFmpeg-devel] [PATCH] libavformat/movenc: Support encryption of H265 stream in AnnexB format

2021-03-01 Thread Vadym Bezdushnyi
-encryption_kid \ encrypted_h265.mp4 ffplay -i encrypted_h265.mp4 -decryption_key Signed-off-by: Vadym Bezdushnyi --- libavformat/movenc.c | 16 ++-- 1 file changed, 14 insertions(+), 2

[FFmpeg-devel] [PATCH] avformat/movenccenc: Fix memory leak for muxing CENC-encrypted files

2021-01-31 Thread Vadym Bezdushnyi
Signed-off-by: Vadym Bezdushnyi --- Memory for auxillary_info was not freed after usage. Leak can be reproduced with following commands: Optionally, generate input video: ffmpeg -f lavfi -i testsrc=duration=10:size=1280x720:rate=30 input.mp4 Run ffmpeg with valgrind: valgrind --leak-check=full