Wagner Patriota <wagner.patriota at ...> writes: > After decoding videos I get the frame upside down after > sws_scale() from H.264 pixel format to AV_PIX_FMT_RGB24. Pass a negative linesize (and an appropriately fixed starting pointer). ("Mirror" usually means horizontal flip, "flip" is vertical) Carl Eugen