<div dir="ltr"><div>Hello. I am trying to implement program which reads out plain images (ready for some further usage) from video files, but got issues with sws_scale() complaining about wrong AVFrame format:  "[swscaler @ 0x558ef00721a0] bad src image pointers". So, I formulated an example where I try allocate AVFrame with 4 different ways (found those on internet here and there) each of which failing in different ways.</div><div>Could you please help me finish it: <a href="https://github.com/SlavMFM/libav_bmp_example">https://github.com/SlavMFM/libav_bmp_example</a></div><div>Thanks in advance ^^<br></div></div>