# HG changeset patch # User Matti Hamalainen # Date 1528225248 -10800 # Node ID 55db8d6dffa55048c8efd72f446a614b37448b4d # Parent a0986cfd6f9d85ba2dddfedc614c9d60e4b2f3e1 Do not apply input skip offset here anymore, it's handled more generally elsewhere. diff -r a0986cfd6f9d -r 55db8d6dffa5 tools/gfxconv.c --- a/tools/gfxconv.c Tue Jun 05 21:58:10 2018 +0300 +++ b/tools/gfxconv.c Tue Jun 05 22:00:48 2018 +0300 @@ -1730,7 +1730,7 @@ const DMImageFormat *ifmt = NULL; int index; dmMsg(4, "Trying to probe image formats.\n"); - if (dmImageProbeGeneric(dataBuf + optInSkip, dataSize - optInSkip, &ifmt, &index) > 0) + if (dmImageProbeGeneric(dataBuf, dataSize, &ifmt, &index) > 0) { optInFormat = FFMT_IMAGE; optInSubFormat = index;