Commit 8b0ceb96 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'b34257ee'

* commit 'b34257ee':
  nut: Check chapter creation in decode_info_header

Conflicts:
	libavformat/nutdec.c

See: 3ff1af2bMerged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents ce1c0e99 b34257ee
......@@ -506,7 +506,7 @@ static int decode_info_header(NUTContext *nut)
nut->time_base_count],
start, start + chapter_len, NULL);
if (!chapter) {
av_log(s, AV_LOG_ERROR, "could not create chapter\n");
av_log(s, AV_LOG_ERROR, "Could not create chapter.\n");
return AVERROR(ENOMEM);
}
metadata = &chapter->metadata;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment