[FFmpeg-cvslog] Make another PixelFormat list const.

Reimar Döffinger git at videolan.org
Sat Nov 5 15:45:27 CET 2011


ffmpeg | branch: master | Reimar Döffinger <Reimar.Doeffinger at gmx.de> | Sat Nov  5 15:22:45 2011 +0100| [6f6ab1d9f35bd0b02bd8420c510805de9b92ed7f] | committer: Reimar Döffinger

Make another PixelFormat list const.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>

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

 libavfilter/vf_overlay.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavfilter/vf_overlay.c b/libavfilter/vf_overlay.c
index 6ea90dd..a5b59e2 100644
--- a/libavfilter/vf_overlay.c
+++ b/libavfilter/vf_overlay.c
@@ -183,7 +183,7 @@ static int query_formats(AVFilterContext *ctx)
     return 0;
 }
 
-static enum PixelFormat alpha_pix_fmts[] = {
+static const enum PixelFormat alpha_pix_fmts[] = {
     PIX_FMT_YUVA420P, PIX_FMT_ARGB, PIX_FMT_ABGR, PIX_FMT_RGBA,
     PIX_FMT_BGRA, PIX_FMT_NONE
 };



More information about the ffmpeg-cvslog mailing list