OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06fd213
)
Fix end time of last chapter in compute_chapters_end().
author
John Stebbins
<stebbins@jetheaddev.com>
Wed, 25 May 2011 07:43:55 +0000
(09:43 +0200)
committer
Carl Eugen Hoyos
<cehoyos@ag.or.at>
Wed, 25 May 2011 07:49:18 +0000
(09:49 +0200)
libavformat/utils.c
patch
|
blob
|
history
diff --git
a/libavformat/utils.c
b/libavformat/utils.c
index
52d8a2d
..
20b21f2
100644
(file)
--- a/
libavformat/utils.c
+++ b/
libavformat/utils.c
@@
-2153,7
+2153,7
@@
enum CodecID av_codec_get_id(const AVCodecTag * const *tags, unsigned int tag)
static void compute_chapters_end(AVFormatContext *s)
{
unsigned int i, j;
- int64_t max_time = s->duration + (
s->start_time == AV_NOPTS_VALUE) ? 0 : s->start_time
;
+ int64_t max_time = s->duration + (
(s->start_time == AV_NOPTS_VALUE) ? 0 : s->start_time)
;
for (i = 0; i < s->nb_chapters; i++)
if (s->chapters[i]->end == AV_NOPTS_VALUE) {