First, I use av_hwframe_transfer_data to change format to NV12, Then, I try to change NV12 to rgb24 using sws_scale, but it turns out to be NULL. -- Sent from: http://www.ffmpeg-archive.org/