]> git.sesse.net Git - nageru/commit
Stop using av_init_packet().
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 1 Oct 2023 09:11:52 +0000 (11:11 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 1 Oct 2023 09:11:52 +0000 (11:11 +0200)
commit2f92c975a3cf9f4803a58267fd2a12765e34a69e
treebbba91b8f30c141d10457418664c8e7d27304098
parent79da5a221c1109e6ae536b68c5bfc2dfb4ee725b
Stop using av_init_packet().

It's a shame that we now need to call malloc for each and every
allocation of a common 104-byte struct, but evidently, that's the way
FFmpeg wants it. So move to heap allocation everywhere, silencing
a barrage of deprecation warnings during build.
futatabi/export.cpp
futatabi/main.cpp
futatabi/video_stream.cpp
nageru/audio_encoder.cpp
nageru/ffmpeg_capture.cpp
nageru/image_input.cpp
nageru/kaeru.cpp
shared/ffmpeg_raii.cpp
shared/ffmpeg_raii.h
shared/mux.cpp