This mimics the behaviour of other av_*_new_side_data(). This is not caught by the malloc check, since AV_INPUT_BUFFER_PADDING_SIZE is always added to the allocated size.
Signed-off-by: Vittorio Giovara <vittorio.giov...@gmail.com> --- This is assuming that packet side data cannot be used empty. [documentation needed] Vittorio libavformat/mov.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index 385bd1d..92b3c7e 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -1780,7 +1780,8 @@ static int mov_skip_multiple_stsd(MOVContext *c, AVIOContext *pb, * export it as a separate AVStream but this needs a few changes * in the MOV demuxer, patch welcome. */ - av_log(c->fc, AV_LOG_WARNING, "multiple fourcc not supported\n"); + av_log(c->fc, AV_LOG_WARNING, "multiple fourcc not supported %d %d\n", + codec_tag, format); avio_skip(pb, size); return 1; } -- 2.8.3 _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel