Le 10/10/2024 à 22:45, Michael Niedermayer a écrit :
[...]

@@ -1266,7 +1268,7 @@ static int encode_frame(AVCodecContext *avctx, AVPacket 
*pkt,
  #define OFFSET(x) offsetof(FFV1Context, x)
  #define VE AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_ENCODING_PARAM
  static const AVOption options[] = {
-    { "slicecrc", "Protect slices with CRCs", OFFSET(ec), AV_OPT_TYPE_BOOL, { 
.i64 = -1 }, -1, 1, VE },
+    { "slicecrc", "Protect slices with CRCs", OFFSET(ec), AV_OPT_TYPE_BOOL, { 
.i64 = -1 }, -1, 2, VE },

This is no more a bool.

      { "coder", "Coder type", OFFSET(ac), AV_OPT_TYPE_INT,
              { .i64 = 0 }, -2, 2, VE, .unit = "coder" },
          { "rice", "Golomb rice", 0, AV_OPT_TYPE_CONST,


_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to