Commit dad66bee authored by Benoit Fouet's avatar Benoit Fouet
Browse files


Originally committed as revision 9437 to svn://
parent 5b43487d
......@@ -644,7 +644,7 @@ struct SwsContext *sws_getContext(int srcW, int srcH, int srcFormat,
ctx = av_malloc(sizeof(struct SwsContext));
if (ctx)
ctx->av_class = av_mallocz(sizeof(AVClass));
ctx->av_class = av_mallocz(sizeof(AVClass));
if (!ctx || !ctx->av_class) {
av_log(NULL, AV_LOG_ERROR, "Cannot allocate a resampling context!\n");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment