summaryrefslogtreecommitdiff
path: root/libavfilter/avfilter.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-09-07 13:00:47 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-09-07 13:00:47 +0200
commit91141f2a13bcb36b849335d1d10c01b596d773bb (patch)
tree4ac4c40f907ffa60664c89c19a9d774cb1ae9f66 /libavfilter/avfilter.h
parent5891e454a667e42ef71a06bfd9661540ea3f3ebd (diff)
lavfi: add qp_table_size
This avoid recalculating it and in case w/h changed avoids crashes. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/avfilter.h')
-rw-r--r--libavfilter/avfilter.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
index 2e61ac5c02..4750cfdec9 100644
--- a/libavfilter/avfilter.h
+++ b/libavfilter/avfilter.h
@@ -132,6 +132,7 @@ typedef struct AVFilterBufferRefVideoProps {
enum AVPictureType pict_type; ///< picture type of the frame
int key_frame; ///< 1 -> keyframe, 0-> not
int qp_table_linesize; ///< qp_table stride
+ int qp_table_size; ///< qp_table size
int8_t *qp_table; ///< array of Quantization Parameters
} AVFilterBufferRefVideoProps;