[FFmpeg-devel] [PATCH] move some bitstream related functions

Reimar Doeffinger Reimar.Doeffinger
Thu Jul 5 13:24:35 CEST 2007

On Thu, Jul 05, 2007 at 12:08:50PM +0200, Aurelien Jacobs wrote:
> The attached patch moves some bitstream related functions from mpegvideo_enc.c
> to bitstream.c. Those functions are used by other encoders which don't
> depend on mpegvideo_enc.c otherwise (such as svq1.c and h263.c).
> So moving them will then allows me to ensure mpegvideo_enc.c is compiled
> only when necessary (and not as soon as any encoder is enabled).
> Is it ok ?

Don't know, but including dsputil.h in bitstream.c seems quite ugly to

Reimar Doeffinger

More information about the ffmpeg-devel mailing list