Re: [FFmpeg-devel] [PATCH] avcodec/golomb: Factor writing golomb codes out

2022-01-05 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Most users only want to either read or write golomb codes, not both. > By splitting these headers one avoids having unnecesssary > (get|put)_hits.h inclusions. > > Signed-off-by: Andreas Rheinhardt > --- > libavcodec/ffv1enc.c | 2 +- > libavcodec/flacenc.c |

[FFmpeg-devel] [PATCH] avcodec/golomb: Factor writing golomb codes out

2022-01-03 Thread Andreas Rheinhardt
Most users only want to either read or write golomb codes, not both. By splitting these headers one avoids having unnecesssary (get|put)_hits.h inclusions. Signed-off-by: Andreas Rheinhardt --- libavcodec/ffv1enc.c | 2 +- libavcodec/flacenc.c | 2 +- libavcodec/golomb.h | 13