diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2019-12-03 18:09:09 +0100 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2019-12-04 23:11:37 -0300 |
commit | dbe3be674459baf310d55eaaf85ac0fb2d89aaff (patch) | |
tree | 846ae328981237dcc7120d0a3bcf4baf893b6896 /libavcodec/aasc.c | |
parent | f74eaa17bb0b2a5a7d550c107cd119da87c946bc (diff) | |
download | ffmpeg-dbe3be674459baf310d55eaaf85ac0fb2d89aaff.tar.gz |
avformat/matroskadec: Improve frame size parsing error messages
When parsing the sizes of the frames in a lace fails, sometimes no
error message was raised (e.g. when using xiph or fixed-size lacing).
Only EBML lacing generated error messages (which were wrongly declared
as AV_LOG_INFO), but even here not all errors resulted in an error
message. So add a generic error message to catch them all.
Moreover, if parsing one of the EBML numbers fails, ebml_read_num already
emits its own error messages, so that all that is needed is a generic error
message to indicate that this happened during parsing the sizes of the
frames in a block; in other words, the error messages specific to
parsing EBML lace numbers can be and have been removed.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/aasc.c')
0 files changed, 0 insertions, 0 deletions