aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/utils.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2004-11-23 18:23:56 +0000
committerMichael Niedermayer <michaelni@gmx.at>2004-11-23 18:23:56 +0000
commitdc56fc38021cec000eda49a5e8ca145af049b89c (patch)
treefbc2e3a769fc2f38748fa3e21e90868b6e95d60b /libavformat/utils.c
parent8a01fc4742f00a4fed8e3c1068085bf001cf086d (diff)
downloadffmpeg-dc56fc38021cec000eda49a5e8ca145af049b89c.tar.gz
int / int64 fix by (Wolfram Gloger <wmglo @@@ dent:med:uni-muenchen:de>)
Originally committed as revision 3704 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r--libavformat/utils.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index 6178d15ffe..6b3bd5db48 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -1046,7 +1046,8 @@ static int is_raw_stream(AVFormatContext *s)
* then it will be >=
* @return < 0 if no such timestamp could be found
*/
-int av_index_search_timestamp(AVStream *st, int wanted_timestamp, int backward)
+int av_index_search_timestamp(AVStream *st, int64_t wanted_timestamp,
+ int backward)
{
AVIndexEntry *entries= st->index_entries;
int nb_entries= st->nb_index_entries;