comparison imgresample.c @ 5187:9968f39d03aa libavcodec

Indentation
author benoit
date Tue, 26 Jun 2007 18:01:15 +0000
parents 8a6fac216a2f
children 09f99af1db40
comparison
equal deleted inserted replaced
5186:8a6fac216a2f 5187:9968f39d03aa
642 { 642 {
643 struct SwsContext *ctx; 643 struct SwsContext *ctx;
644 644
645 ctx = av_malloc(sizeof(struct SwsContext)); 645 ctx = av_malloc(sizeof(struct SwsContext));
646 if (ctx) 646 if (ctx)
647 ctx->av_class = av_mallocz(sizeof(AVClass)); 647 ctx->av_class = av_mallocz(sizeof(AVClass));
648 if (!ctx || !ctx->av_class) { 648 if (!ctx || !ctx->av_class) {
649 av_log(NULL, AV_LOG_ERROR, "Cannot allocate a resampling context!\n"); 649 av_log(NULL, AV_LOG_ERROR, "Cannot allocate a resampling context!\n");
650 650
651 return NULL; 651 return NULL;
652 } 652 }