mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-17 12:30:11 +01: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