changeset 67:fb2657d1e70d libpostproc

Make the av_class member of PPContext a poiner to constant AVClass. Patch by Diego 'Flameeyes' Petten flameeyes gmail ! com
author benoit
date Mon, 07 Jan 2008 12:44:49 +0000
parents 7737e39e74f3
children d05918aeb89d
files postprocess.c postprocess_internal.h
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/postprocess.c	Fri Jan 04 07:47:32 2008 +0000
+++ b/postprocess.c	Mon Jan 07 12:44:49 2008 +0000
@@ -982,7 +982,7 @@
     return "postproc";
 }
 
-static AVClass av_codec_context_class = { "Postproc", context_to_name, NULL };
+static const AVClass av_codec_context_class = { "Postproc", context_to_name, NULL };
 
 pp_context_t *pp_get_context(int width, int height, int cpuCaps){
         PPContext *c= av_malloc(sizeof(PPContext));
--- a/postprocess_internal.h	Fri Jan 04 07:47:32 2008 +0000
+++ b/postprocess_internal.h	Mon Jan 07 12:44:49 2008 +0000
@@ -126,7 +126,7 @@
         /**
          * info on struct for av_log
          */
-        AVClass *av_class;
+        const AVClass *av_class;
 
         uint8_t *tempBlocks; ///<used for the horizontal code