[FFmpeg-cvslog] avformat/movenc: Make some AVCodecTag tables static

Andreas Rheinhardt git at videolan.org
Mon Oct 5 02:48:34 EEST 2020


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at gmail.com> | Wed Sep 30 18:29:51 2020 +0200| [e6cdd23bc706d6ff0e213ffbf537e92c81637769] | committer: Andreas Rheinhardt

avformat/movenc: Make some AVCodecTag tables static

They are not used anywhere else.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>

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

 libavformat/movenc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index ae32b39dbb..a8333953bc 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -7114,7 +7114,7 @@ static const AVCodecTag codec_3gp_tags[] = {
     { AV_CODEC_ID_NONE, 0 },
 };
 
-const AVCodecTag codec_mp4_tags[] = {
+static const AVCodecTag codec_mp4_tags[] = {
     { AV_CODEC_ID_MPEG4,           MKTAG('m', 'p', '4', 'v') },
     { AV_CODEC_ID_H264,            MKTAG('a', 'v', 'c', '1') },
     { AV_CODEC_ID_H264,            MKTAG('a', 'v', 'c', '3') },
@@ -7150,7 +7150,7 @@ const AVCodecTag codec_mp4_tags[] = {
     { AV_CODEC_ID_NONE,               0 },
 };
 
-const AVCodecTag codec_ism_tags[] = {
+static const AVCodecTag codec_ism_tags[] = {
     { AV_CODEC_ID_WMAPRO      , MKTAG('w', 'm', 'a', ' ') },
     { AV_CODEC_ID_NONE        ,    0 },
 };



More information about the ffmpeg-cvslog mailing list