Merge commit '9272c965d9'
* commit '9272c965d9': matroskaenc: Fix type used for chapter timestamps Conflicts: libavformat/matroskaenc.c See:a4cd057bc7Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
e48ff13ba7
1 changed files with 2 additions and 1 deletions
|
|
@ -1078,7 +1078,8 @@ static int mkv_write_chapters(AVFormatContext *s)
|
|||
int64_t chapterend = av_rescale_q(c->end, c->time_base, scale);
|
||||
AVDictionaryEntry *t = NULL;
|
||||
if (chapterstart < 0 || chapterstart > chapterend || chapterend < 0) {
|
||||
av_log(s, AV_LOG_ERROR, "Invalid chapter start (%"PRId64") or end (%"PRId64").\n",
|
||||
av_log(s, AV_LOG_ERROR,
|
||||
"Invalid chapter start (%"PRId64") or end (%"PRId64").\n",
|
||||
chapterstart, chapterend);
|
||||
return AVERROR_INVALIDDATA;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue