diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-09-07 06:53:11 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-09-07 06:53:11 +0200 |
commit | ca7be934d6f69487da7cd3f62404cf5963e12e22 (patch) | |
tree | e669b94519b2e410826a6ad2c105b29f56a3fb8a /libavfilter | |
parent | a33b4bc79ce5001552a5429cba015089cfd603a8 (diff) | |
download | ffmpeg-ca7be934d6f69487da7cd3f62404cf5963e12e22.tar.gz |
lavfi: 10l fix () placement
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/buffer.c b/libavfilter/buffer.c index d7070928bb..470c6f148c 100644 --- a/libavfilter/buffer.c +++ b/libavfilter/buffer.c @@ -42,7 +42,7 @@ void ff_avfilter_default_free_buffer(AVFilterBuffer *ptr) static void copy_video_props(AVFilterBufferRefVideoProps *dst, AVFilterBufferRefVideoProps *src) { *dst = *src; if (src->qp_table) { - int qsize = src->qp_table_linesize ? (src->qp_table_linesize * (src->h+15)/16) : (src->w+15)/16; + int qsize = src->qp_table_linesize ? src->qp_table_linesize * ((src->h+15)/16) : (src->w+15)/16; dst->qp_table = av_malloc(qsize); memcpy(dst->qp_table, src->qp_table, qsize); } |