[FFmpeg-devel] [PATCH 1/5] avcodec/ffv1enc: allow manually specifying the crc type

Michael Niedermayer michael at niedermayer.cc
Mon Oct 14 23:25:59 EEST 2024


On Fri, Oct 11, 2024 at 09:44:37AM +0200, Jerome Martinez wrote:
> 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.

will change it to int and apply
thx for spotting

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

During times of universal deceit, telling the truth becomes a
revolutionary act. -- George Orwell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20241014/f7744baa/attachment.sig>


More information about the ffmpeg-devel mailing list