[FFmpeg-cvslog] lavfi/ass: mark ass_libavfilter_log_level_map as static const.

Clément Bœsch git at videolan.org
Sun Sep 16 04:37:35 CEST 2012


ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Sun Sep 16 02:59:43 2012 +0200| [74434d3bfe595f848b853d2d1b731aa4af8217fe] | committer: Clément Bœsch

lavfi/ass: mark ass_libavfilter_log_level_map as static const.

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

 libavfilter/vf_ass.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_ass.c b/libavfilter/vf_ass.c
index e6a35ba..6b20631 100644
--- a/libavfilter/vf_ass.c
+++ b/libavfilter/vf_ass.c
@@ -61,7 +61,7 @@ static const AVOption ass_options[] = {
 AVFILTER_DEFINE_CLASS(ass);
 
 /* libass supports a log level ranging from 0 to 7 */
-int ass_libavfilter_log_level_map[] = {
+static const int ass_libavfilter_log_level_map[] = {
     AV_LOG_QUIET,               /* 0 */
     AV_LOG_PANIC,               /* 1 */
     AV_LOG_FATAL,               /* 2 */



More information about the ffmpeg-cvslog mailing list