mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-04-25 08:56:59 +08:00
Merge commit 'fd9212f2edfe9b107c3c08ba2df5fd2cba5ab9e3'
* commit 'fd9212f2edfe9b107c3c08ba2df5fd2cba5ab9e3': Mark some arrays that never change as const. Merged-by: James Almer <jamrial@gmail.com>
This commit is contained in:
@@ -93,7 +93,7 @@ typedef struct VAAPIMapping {
|
||||
}
|
||||
// The map fourcc <-> pix_fmt isn't bijective because of the annoying U/V
|
||||
// plane swap cases. The frame handling below tries to hide these.
|
||||
static struct {
|
||||
static const struct {
|
||||
unsigned int fourcc;
|
||||
unsigned int rt_format;
|
||||
enum AVPixelFormat pix_fmt;
|
||||
|
||||
Reference in New Issue
Block a user