* commit 'fd9212f2ed':
  Mark some arrays that never change as const.

Merged-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer 2017-09-26 15:58:40 -03:00
commit 318778de9e
26 changed files with 64 additions and 64 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,