On Tue, 26 Mar 2013, Diego Biurrun wrote:

On Tue, Mar 26, 2013 at 06:26:37PM +0200, Martin Storsjö wrote:
This makes standalone compilation of the eamad and eatqi decoders
and mpeg1video and mpeg2video encoders succeed. The dependency
comes from the shared mpeg12.o file.

---
Splitting out the pieces from mpeg12.c that is shared for each
of these components, which doesn't use ER, isn't all that
trivial - patches welcome though.

I have split (most of) the mpeg12 decoder code from the shared code.
That obviates adding ER to the eamad decoder dependencies.

Would adding a bunch of ER ifdefs work alternatively?

Yes, probably, but I'm not sure of the right scope for them. We can easily ifdef out each call to ER functions within this file, but that feels a bit ugly. If you find some bigger piece of code that can be disabled for these configurations, it'd be even better.

// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to