mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-11-06 13:28:17 +00:00
av_hwframe_get_buffer() requires an empty frame and attaches the frames context reference itself. The test pre-set frame->hw_frames_ctx, so the plain assignment in av_hwframe_get_buffer() overwrote the field without unref-ing the pre-set reference.