mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 07:31:22 +01:00
Merge commit '1e76345432'
* commit '1e76345432': png: improve signature check Conflicts: libavcodec/pngdec.c See:8a08503b78See:0a3589bf2fMerged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
cd960c8a4f
1 changed files with 1 additions and 1 deletions
|
|
@ -1118,7 +1118,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, "Missing png signature\n");
|
||||
av_log(avctx, AV_LOG_ERROR, "Invalid PNG signature (%d).\n", buf_size);
|
||||
return AVERROR_INVALIDDATA;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue