[FFmpeg-devel] [PATCH 3/4] lavfi/ass: mark ass_libavfilter_log_level_map as static const.

Clément Bœsch ubitux at gmail.com
Sun Sep 16 03:08:18 CEST 2012


---
 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 */
-- 
1.7.12



More information about the ffmpeg-devel mailing list