summaryrefslogtreecommitdiff
path: root/libavfilter
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-09-13 10:56:54 +0200
committerStefano Sabatini <stefasab@gmail.com>2012-09-14 11:06:40 +0200
commitdead4580e2424c2fd1868e67642b9ec5f81705d9 (patch)
tree03a3d3193bc981b1559521d2f1bb7598f906fc31 /libavfilter
parent8d0e871f2543e7809a18b64a8181beff5f885d32 (diff)
lavfi/avcodec: apply cosmetics style fixes
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/avcodec.c6
1 files 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);
}