mirror of
https://github.com/mpv-player/mpv
synced 2025-01-20 21:07:29 +01:00
Make av_class a pointer to const.
Patch by Takis. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26210 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
26f0d73d73
commit
7f97108f0f
@ -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)
|
||||
{
|
||||
|
@ -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…
Reference in New Issue
Block a user