[FFmpeg-cvslog] avformat/smoothstreamingenc: Make const tables static const

Michael Niedermayer git at videolan.org
Tue Aug 6 20:37:52 CEST 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Aug  6 20:30:12 2013 +0200| [ef71717901b0e5fc6ba47756407da8118a591e11] | committer: Michael Niedermayer

avformat/smoothstreamingenc: Make const tables static const

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ef71717901b0e5fc6ba47756407da8118a591e11
---

 libavformat/smoothstreamingenc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/smoothstreamingenc.c b/libavformat/smoothstreamingenc.c
index 096bf79..7163c90 100644
--- a/libavformat/smoothstreamingenc.c
+++ b/libavformat/smoothstreamingenc.c
@@ -428,7 +428,7 @@ static int parse_fragment(AVFormatContext *s, const char *filename, int64_t *sta
         if (len < 8 || len >= *moof_size)
             goto fail;
         if (tag == MKTAG('u','u','i','d')) {
-            const uint8_t tfxd[] = {
+            static const uint8_t tfxd[] = {
                 0x6d, 0x1d, 0x9b, 0x05, 0x42, 0xd5, 0x44, 0xe6,
                 0x80, 0xe2, 0x14, 0x1d, 0xaf, 0xf7, 0x57, 0xb2
             };



More information about the ffmpeg-cvslog mailing list