mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Merge commit '4fee11ab05fc8569ef35c0ce86a60375c903eefb'
* commit '4fee11ab05fc8569ef35c0ce86a60375c903eefb': png: Be more informative regarding signature errors Conflicts: libavcodec/pngdec.c Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
This commit is contained in:
commit
00b5c19661
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user