aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/internal.h
diff options
context:
space:
mode:
authorLimin Wang <lance.lmwang@gmail.com>2020-07-12 22:19:31 +0800
committerLimin Wang <lance.lmwang@gmail.com>2020-08-16 22:51:11 +0800
commitd7af6d146983f8a63304fffb8535787f9e7bdee9 (patch)
tree6bc41eac70cf151ed1975fafd02f9a332bd77161 /libavcodec/internal.h
parent6328a5706832eac5568fb6d20fe2095790349598 (diff)
downloadffmpeg-d7af6d146983f8a63304fffb8535787f9e7bdee9.tar.gz
avcodec/utils: calculate frame number of HEVC if the framerate > 30FPS
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
Diffstat (limited to 'libavcodec/internal.h')
-rw-r--r--libavcodec/internal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/internal.h b/libavcodec/internal.h
index 21486ae987..1c25aab6b9 100644
--- a/libavcodec/internal.h
+++ b/libavcodec/internal.h
@@ -367,6 +367,7 @@ AVCPBProperties *ff_add_cpb_side_data(AVCodecContext *avctx);
* Check AVFrame for S12M timecode side data and allocate and fill TC SEI message with timecode info
*
* @param frame Raw frame to get S12M timecode side data from
+ * @param rate The frame rate
* @param prefix_len Number of bytes to allocate before SEI message
* @param data Pointer to a variable to store allocated memory
* Upon return the variable will hold NULL on error or if frame has no S12M timecode info.
@@ -375,7 +376,7 @@ AVCPBProperties *ff_add_cpb_side_data(AVCodecContext *avctx);
* @param sei_size Pointer to a variable to store generated SEI message length
* @return Zero on success, negative error code on failure
*/
-int ff_alloc_timecode_sei(const AVFrame *frame, size_t prefix_len,
+int ff_alloc_timecode_sei(const AVFrame *frame, AVRational rate, size_t prefix_len,
void **data, size_t *sei_size);
/**