aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/subtitles.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-05-10 15:38:40 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-05-11 12:42:38 +0200
commita633928d47057426a9c328da594407d1c7da8a5c (patch)
tree17c1113d995b0fcf1560192f21c7458178e6c857 /libavformat/subtitles.h
parent17b26308a2e3144bb22e7070242f1e1c7928aa7f (diff)
downloadffmpeg-a633928d47057426a9c328da594407d1c7da8a5c.tar.gz
avformat/subtitles: Use size_t for len
string length could theoretically be larger than int Reviewed-by: Clément Bœsch <u@pkh.me> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/subtitles.h')
-rw-r--r--libavformat/subtitles.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/subtitles.h b/libavformat/subtitles.h
index eb719ea770..885285cc47 100644
--- a/libavformat/subtitles.h
+++ b/libavformat/subtitles.h
@@ -116,7 +116,7 @@ typedef struct {
* previous one instead of adding a new entry, 0 otherwise
*/
AVPacket *ff_subtitles_queue_insert(FFDemuxSubtitlesQueue *q,
- const uint8_t *event, int len, int merge);
+ const uint8_t *event, size_t len, int merge);
/**
* Set missing durations and sort subtitles by PTS, and then byte position.