[FFmpeg-cvslog] lavfi: 10l fix () placement
Michael Niedermayer
git at videolan.org
Fri Sep 7 06:56:37 CEST 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Sep 7 06:53:11 2012 +0200| [ca7be934d6f69487da7cd3f62404cf5963e12e22] | committer: Michael Niedermayer
lavfi: 10l fix () placement
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ca7be934d6f69487da7cd3f62404cf5963e12e22
---
libavfilter/buffer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/buffer.c b/libavfilter/buffer.c
index d707092..470c6f1 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);
}
More information about the ffmpeg-cvslog
mailing list