mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
Mark some arrays that never change as const.
This commit is contained in:
parent
b420a27e74
commit
fd9212f2ed
51 changed files with 129 additions and 129 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue