Mercurial > libpostproc.hg
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));