Mark some arrays that never change as const.

This commit is contained in:
Anton Khirnov
2016-07-03 10:09:36 +02:00
parent b420a27e74
commit fd9212f2ed
51 changed files with 129 additions and 129 deletions

View File

@@ -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,