Revert "[BugFix] Enums are only 2 bytes on some Devices"

This reverts commit 4ec34f6986.

Reason for revert:
 -fshort-enums makes them smaller if the explicitrly enumerated values will fit in a smaller type

Change-Id: I834dfd2b2039eda91bc02c9cf95a0f9dfc5783f6
This commit is contained in:
William Wilgus 2024-11-24 11:38:16 -05:00 committed by Gerrit Rockbox
parent 4ec34f6986
commit 1fddea5e8e
18 changed files with 165 additions and 168 deletions

View file

@ -40,7 +40,7 @@ int ff_is_hwaccel_pix_fmt(enum PixelFormat pix_fmt);
* @param pix_fmt the pixel format to match
* @return the hardware accelerated codec, or NULL if none was found.
*/
AVHWAccel *ff_find_hwaccel(int codec_id, enum PixelFormat pix_fmt);
AVHWAccel *ff_find_hwaccel(enum CodecID codec_id, enum PixelFormat pix_fmt);
/**
* Return the index into tab at which {a,b} match elements {[0],[1]} of tab.