Move list_fmts() from ffmpeg.c to cmdutils.{h,c}, so that it can be