mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-08 02:06:02 +08:00
Mark some arrays that never change as const.
This commit is contained in:
@@ -27,7 +27,7 @@
|
||||
#include "vaapi_encode.h"
|
||||
#include "avcodec.h"
|
||||
|
||||
static const char *picture_type_name[] = { "IDR", "I", "P", "B" };
|
||||
static const char * const picture_type_name[] = { "IDR", "I", "P", "B" };
|
||||
|
||||
static int vaapi_encode_make_packed_header(AVCodecContext *avctx,
|
||||
VAAPIEncodePicture *pic,
|
||||
|
Reference in New Issue
Block a user