On Wed, Dec 28, 2011 at 01:28:42PM +0100, Stefano Sabatini wrote: > > +#if CONFIG_AVCODEC > > if (dtext->tc.str) { You could use if (CONFIG_AVCODEC && dtext->tc.str) here instead, and for the same below.