mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-06 15:49:50 +08:00
Make the av_class member of PPContext a poiner to constant AVClass.
Patch by Diego 'Flameeyes' Pettenò flameeyes ¤ gmail ! com Originally committed as revision 11445 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:

committed by
Benoit Fouet

parent
9307db13f6
commit
31bfd6f34f
@ -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));
|
||||
|
Reference in New Issue
Block a user