[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnash-dev] [COMMITTED] inclusion of ffmpeg patch into Gnash 0.8.2 ?
From: |
Russ Nelson |
Subject: |
Re: [Gnash-dev] [COMMITTED] inclusion of ffmpeg patch into Gnash 0.8.2 ? |
Date: |
Fri, 22 Feb 2008 10:57:02 -0500 |
strk writes:
> Next thing to look at (in head) would be proper abstractions to
> reduce (ideally drop) ifdefs around and duplication of common code.
Yes, ifdefs are the WRONG way to do configuration. The right way is
to have a set of functions which get implemented by two derived
classes. Then it's just a question of selecting the correct class to
link into your code if at compile time, or instantiate if at runtime.
#ifdef EVIL
# assert "yes!"
#endif
--
--my blog is at http://blog.russnelson.com | Software that needs
Crynwr sells support for free software | PGPok | documentation is software
521 Pleasant Valley Rd. | +1 315-323-1241 | that needs repair.
Potsdam, NY 13676-3213 | Sheepdog |
- [Gnash-dev] inclusion of ffmpeg patch into Gnash 0.8.2 ?, (continued)
- [Gnash-dev] inclusion of ffmpeg patch into Gnash 0.8.2 ?, Hong Yu, 2008/02/22
- Re: [Gnash-dev] inclusion of ffmpeg patch into Gnash 0.8.2 ?, Markus Gothe, 2008/02/22
- Re: [Gnash-dev] inclusion of ffmpeg patch into Gnash 0.8.2 ?, Hubert Figuiere, 2008/02/22
- Re: [Gnash-dev] inclusion of ffmpeg patch into Gnash 0.8.2 ?, Markus Gothe, 2008/02/22
- Re: [Gnash-dev] inclusion of ffmpeg patch into Gnash 0.8.2 ?, Bastiaan Jacques, 2008/02/23
- Re: Re: [Gnash-dev] inclusion of ffmpeg patch into Gnash 0.8.2 ?, Markus Gothe, 2008/02/23
- Re: Re: [Gnash-dev] inclusion of ffmpeg patch into Gnash 0.8.2 ?, Bastiaan Jacques, 2008/02/23
- Re: [Gnash-dev] inclusion of ffmpeg patch into Gnash 0.8.2 ?, strk, 2008/02/22
- [Gnash-dev] [COMMITTED] inclusion of ffmpeg patch into Gnash 0.8.2 ?, strk, 2008/02/22
- [Gnash-dev] libmedia/sdl still needed ?, strk, 2008/02/22
- Re: [Gnash-dev] [COMMITTED] inclusion of ffmpeg patch into Gnash 0.8.2 ?,
Russ Nelson <=
- Re: [Gnash-dev] [COMMITTED] inclusion of ffmpeg patch into Gnash 0.8.2 ?, Bastiaan Jacques, 2008/02/23
- Re: [Gnash-dev] [COMMITTED] inclusion of ffmpeg patch into Gnash 0.8.2 ?, strk, 2008/02/25
- [Gnash-dev] Re: [COMMITTED] inclusion of ffmpeg patch into Gnash 0.8.2 ?, Hong Yu, 2008/02/24
- Re: [Gnash-dev] Re: [COMMITTED] inclusion of ffmpeg patch into Gnash 0.8.2 ?, Bastiaan Jacques, 2008/02/25
- Message not available
- Message not available
- Re: [Gnash-dev] Re: [COMMITTED] inclusion of ffmpeg patch into Gnash 0.8.2 ?, strk, 2008/02/27