Commit 00b5c196 authored by Hendrik Leppkes's avatar Hendrik Leppkes

Merge commit '4fee11ab'

* commit '4fee11ab':
  png: Be more informative regarding signature errors

Conflicts:
	libavcodec/pngdec.c
Merged-by: 's avatarHendrik Leppkes <h.leppkes@gmail.com>
parents e5774f28 4fee11ab
......@@ -1171,7 +1171,7 @@ static int decode_frame_png(AVCodecContext *avctx,
sig = bytestream2_get_be64(&s->gb);
if (sig != PNGSIG &&
sig != MNGSIG) {
av_log(avctx, AV_LOG_ERROR, "Invalid PNG signature (%d).\n", buf_size);
av_log(avctx, AV_LOG_ERROR, "Invalid PNG signature 0x%08"PRIX64".\n", sig);
return AVERROR_INVALIDDATA;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment