aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-10-13 08:27:03 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-10-13 08:28:05 +0200
commitb6ffe8afd92860a4605f12ac61226dac5e0c03cb (patch)
treea116bc4bd49ed792ed468228de3dfe93a09f0d8f
parent40ade0714110d26d9b520b457a851209e4851e99 (diff)
parent9c15ef35d404fca2adc31276c1eedb11cf485461 (diff)
downloadffmpeg-b6ffe8afd92860a4605f12ac61226dac5e0c03cb.tar.gz
Merge commit '9c15ef35d404fca2adc31276c1eedb11cf485461'
* commit '9c15ef35d404fca2adc31276c1eedb11cf485461': oggparsevorbis: support official chapter extension Conflicts: libavformat/oggparsevorbis.c See: 04b9836274f390e39879c2666f7967990f0382cc Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/oggparsevorbis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/oggparsevorbis.c b/libavformat/oggparsevorbis.c
index 67b3460df0..c0b3b9aaa2 100644
--- a/libavformat/oggparsevorbis.c
+++ b/libavformat/oggparsevorbis.c
@@ -53,7 +53,7 @@ static int ogm_chapter(AVFormatContext *as, uint8_t *key, uint8_t *val)
ms + 1000 * (s + 60 * (m + 60 * h)),
AV_NOPTS_VALUE, NULL);
av_free(val);
- } else if (!strcmp(key + (keylen - 4), "NAME")) {
+ } else if (!strcmp(key + keylen - 4, "NAME")) {
for (i = 0; i < as->nb_chapters; i++)
if (as->chapters[i]->id == cnum) {
chapter = as->chapters[i];