]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/movtextenc.c
Merge commit '2f172f1ae984b763c06069adb51d0053b3834f4b'
[ffmpeg] / libavcodec / movtextenc.c
index 5d91e94f758a82e427324526120fcda204e0bd01..1b8f454f8b9ebd4e1d1fc70b19230bc2c513cd09 100644 (file)
@@ -41,7 +41,7 @@ static av_cold int mov_text_encode_init(AVCodecContext *avctx)
      * For now, we'll use a fixed default style. When we add styling
      * support, this will be generated from the ASS style.
      */
-    static uint8_t text_sample_entry[] = {
+    static const uint8_t text_sample_entry[] = {
         0x00, 0x00, 0x00, 0x00, // uint32_t displayFlags
         0x01,                   // int8_t horizontal-justification
         0xFF,                   // int8_t vertical-justification