[FFmpeg-devel] [PATCH] split mdec.c from mpeg12.c

Michael Niedermayer michaelni
Tue Aug 19 03:27:30 CEST 2008

On Tue, Aug 19, 2008 at 02:20:56AM +0200, Diego Biurrun wrote:
> Here is a little refactoring patch that moves mdec.c to a proper
> separate file that can be conditionally compiled instead of #including
> it from mpeg12.c.
> @@ -620,7 +619,7 @@
>      return val;
>  }
> -static inline int decode_dc(GetBitContext *gb, int component)
> +inline int ff_decode_dc(GetBitContext *gb, int component)
>  {
>      int code, diff;

This function should stay static inline so it can be inlined everywhere

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Good people do not need laws to tell them to act responsibly, while bad
people will find a way around the laws. -- Plato
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080819/8926ce6d/attachment.pgp>

More information about the ffmpeg-devel mailing list