]> git.sesse.net Git - ffmpeg/commit
avformat/webmdashenc: Only check for existence of metadata if it is used
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Fri, 17 Jul 2020 04:17:44 +0000 (06:17 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Sun, 26 Jul 2020 14:44:07 +0000 (16:44 +0200)
commite45365d15d9da58d51960b7c3ecc5ac44a8ddb4f
tree4c839a9a45640e11da68f403e76a88ae0ba7d08b
parentf163b2eb27d88cb39a1860a8c1554b4952a50a71
avformat/webmdashenc: Only check for existence of metadata if it is used

Also return proper error codes when it is absent: AVERROR(EINVAL)
instead of AVERROR_INVALIDDATA.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavformat/webmdashenc.c