Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/avcodec.c')
-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);
}