From dead4580e2424c2fd1868e67642b9ec5f81705d9 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Thu, 13 Sep 2012 10:56:54 +0200 Subject: [PATCH] lavfi/avcodec: apply cosmetics style fixes --- libavfilter/avcodec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavfilter/avcodec.c b/libavfilter/avcodec.c index 51c15de40b..a0f8b69a8d 100644 --- a/libavfilter/avcodec.c +++ b/libavfilter/avcodec.c @@ -46,10 +46,10 @@ int avfilter_copy_frame_props(AVFilterBufferRef *dst, const AVFrame *src) dst->video->qp_table_linesize = 0; if (src->qscale_table) { int qsize = src->qstride ? src->qstride * ((src->height+15)/16) : (src->width+15)/16; - dst->video->qp_table = av_malloc(qsize); - if(!dst->video->qp_table) + dst->video->qp_table = av_malloc(qsize); + if (!dst->video->qp_table) return AVERROR(ENOMEM); - dst->video->qp_table_linesize = src->qstride; + dst->video->qp_table_linesize = src->qstride; dst->video->qp_table_size = qsize; memcpy(dst->video->qp_table, src->qscale_table, qsize); }