diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2016-11-17 15:24:25 +0100 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2016-11-17 15:24:25 +0100 |
commit | 2f1a539d4b905a418aec4b420adcb7648eba5c64 (patch) | |
tree | 1ab0c41e987d6253d3162b5f624ddf6d6ee03650 /libavcodec | |
parent | 286d8bae61e8bee3e5e5fc08e90b74e90612330f (diff) | |
parent | 61bd0ed781b56eea1e8e851aab34a2ee3b59fbac (diff) | |
download | ffmpeg-2f1a539d4b905a418aec4b420adcb7648eba5c64.tar.gz |
Merge commit '61bd0ed781b56eea1e8e851aab34a2ee3b59fbac'
* commit '61bd0ed781b56eea1e8e851aab34a2ee3b59fbac':
h264: Log more information about invalid NALu size
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/h2645_parse.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h2645_parse.h b/libavcodec/h2645_parse.h index 3a60f3fb9b..5f3e17a0f2 100644 --- a/libavcodec/h2645_parse.h +++ b/libavcodec/h2645_parse.h @@ -104,7 +104,7 @@ static inline int get_nalsize(int nal_length_size, const uint8_t *buf, nalsize = ((unsigned)nalsize << 8) | buf[(*buf_index)++]; if (nalsize <= 0 || nalsize > buf_size - *buf_index) { av_log(logctx, AV_LOG_ERROR, - "Invalid nal size %d\n", nalsize); + "Invalid NAL unit size (%d > %d).\n", nalsize, buf_size - *buf_index); return AVERROR_INVALIDDATA; } return nalsize; |