Commit af79370b authored by benoit's avatar benoit

Make the av_class member of PPContext a poiner to constant AVClass.

Patch by Diego 'Flameeyes' Pettenò flameeyes ¤ gmail ! com


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@11445 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 4845b04e
......@@ -982,7 +982,7 @@ static const char * context_to_name(void * ptr) {
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));
......
......@@ -126,7 +126,7 @@ typedef struct PPContext{
/**
* info on struct for av_log
*/
AVClass *av_class;
const AVClass *av_class;
uint8_t *tempBlocks; ///<used for the horizontal code
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment