Browse Source

Make av_class a pointer to const.

Patch by Takis.

Originally committed as revision 26210 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
tags/v0.5
Panagiotis Issaris Benoit Fouet 17 years ago
parent
commit
635a8cd27d
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      libswscale/swscale.c
  2. +1
    -1
      libswscale/swscale_internal.h

+ 1
- 1
libswscale/swscale.c View File

@@ -274,7 +274,7 @@ static const AVOption options[] = {
#undef VE
#undef DEFAULT

static AVClass sws_context_class = { "SWScaler", sws_context_to_name, options };
static const AVClass sws_context_class = { "SWScaler", sws_context_to_name, options };

const char *sws_format_name(enum PixelFormat format)
{


+ 1
- 1
libswscale/swscale_internal.h View File

@@ -42,7 +42,7 @@ typedef struct SwsContext{
/**
* info on struct for av_log
*/
AVClass *av_class;
const AVClass *av_class;

/**
* Note that src, dst, srcStride, dstStride will be copied in the


Loading…
Cancel
Save