mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Make av_class a pointer to const.
Patch by Takis. Originally committed as revision 26210 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
This commit is contained in:
parent
710af50e0c
commit
635a8cd27d
@ -274,7 +274,7 @@ static const AVOption options[] = {
|
|||||||
#undef VE
|
#undef VE
|
||||||
#undef DEFAULT
|
#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)
|
const char *sws_format_name(enum PixelFormat format)
|
||||||
{
|
{
|
||||||
|
@ -42,7 +42,7 @@ typedef struct SwsContext{
|
|||||||
/**
|
/**
|
||||||
* info on struct for av_log
|
* info on struct for av_log
|
||||||
*/
|
*/
|
||||||
AVClass *av_class;
|
const AVClass *av_class;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Note that src, dst, srcStride, dstStride will be copied in the
|
* Note that src, dst, srcStride, dstStride will be copied in the
|
||||||
|
Loading…
Reference in New Issue
Block a user