Carl Eugen Hoyos <[email protected]> added the comment:
Attached patch fixes both samples (that are bit-identical) for me: With the
patch, they look the same as with ImageMagick.
I will apply if nobody objects.
________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue1421>
________________________________________________
Index: libavcodec/bmp.c
===================================================================
--- libavcodec/bmp.c (revision 22365)
+++ libavcodec/bmp.c (working copy)
@@ -180,7 +180,7 @@
}
break;
case 1:
- avctx->pix_fmt = PIX_FMT_MONOBLACK;
+ avctx->pix_fmt = PIX_FMT_MONOWHITE;
break;
default:
av_log(avctx, AV_LOG_ERROR, "depth %d not supported\n", depth);