projects
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
2838ab6
)
Merge commit 'b446f0e98f85e2e931b476e52b319f1c49244660'
author
James Almer
<jamrial@gmail.com>
Thu, 28 Sep 2017 03:09:20 +0000
(
00:09
-0300)
committer
James Almer
<jamrial@gmail.com>
Thu, 28 Sep 2017 03:10:42 +0000
(
00:10
-0300)
* commit '
b446f0e98f85e2e931b476e52b319f1c49244660
':
mov: Do not try to parse multiple stsd for the same track
See
8b43ee4054af799e388d380b379a13a60849c1b5
Merged-by: James Almer <jamrial@gmail.com>
libavformat/mov.c
patch
|
blob
|
history
diff --git
a/libavformat/mov.c
b/libavformat/mov.c
index
19cda14
..
ede9cda
100644
(file)
--- a/
libavformat/mov.c
+++ b/
libavformat/mov.c
@@
-2371,9
+2371,11
@@
static int mov_read_stsd(MOVContext *c, AVIOContext *pb, MOVAtom atom)
}
if (sc->extradata) {
- av_log(c->fc, AV_LOG_ERROR, "Duplicate STSD\n");
+ av_log(c->fc, AV_LOG_ERROR,
+ "Duplicate stsd found in this track.\n");
return AVERROR_INVALIDDATA;
}
+
/* Prepare space for hosting multiple extradata. */
sc->extradata = av_mallocz_array(entries, sizeof(*sc->extradata));
sc->extradata_size = av_mallocz_array(entries, sizeof(*sc->extradata_size));