]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/h2645_parse.h
avformat/mov.: Make the process of uuid-xmp atom faster.
[ffmpeg] / libavcodec / h2645_parse.h
index 3a60f3fb9b75fc04318c19baa5543a8cf62da40d..5f3e17a0f258b14355d798db902eafdd68ef446a 100644 (file)
@@ -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;