[FFmpeg-devel] [PATCH] sdl2: map AV_PIX_FMT_NONE to SDL_PIXELFORMAT_UNKNOWN

Marton Balint cus at passwd.hu
Fri Nov 1 19:42:46 EET 2019



On Wed, 30 Oct 2019, Alfred E. Heggestad wrote:

> This does not change the programs behaviour.
> The purpose of this patch is to make the code more
> robust against future changes, in case someone
> starts using the AV_PIX_FMT_NONE entry.

PIX_FMT_NONE signals the end of the array, whatever it maps to is 
irrelevent. I'd rather keep code as is.

Regards,
Marton


More information about the ffmpeg-devel mailing list