2019-02-27 17:50 GMT+01:00, Martin Vignali <martin.vign...@gmail.com>: >> >> Shouldn’t there be a 64Bit PutBitContext instead so other encoders can >> also profit? > > I only use here a small part of putbitcontext, and in an "unsafe" mode (the > buffer of the prores aw encoder is big enough to not check it, and write 64 > bits during the flush even if less can be use (to keep code more simple))
Not sure if this justifies not adding the new code to PutBitContext: it doesn't have to work for all situations, only for the encoder that initially uses it. Carl Eugen _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel