Mercurial > libavformat.hg
changeset 1269:f9ba65ef0dbf libavformat
put dv demuxing code around ifdef
author | bcoudurier |
---|---|
date | Thu, 24 Aug 2006 08:32:52 +0000 |
parents | a6f690337d6c |
children | 64be40fc28a5 |
files | mov.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mov.c Thu Aug 24 08:28:11 2006 +0000 +++ b/mov.c Thu Aug 24 08:32:52 2006 +0000 @@ -1039,6 +1039,7 @@ case CODEC_ID_MP3ON4: st->codec->sample_rate= 0; /* let decoder init parameters properly */ break; +#ifdef CONFIG_DV_DEMUXER case CODEC_ID_DVAUDIO: c->dv_fctx = av_alloc_format_context(); c->dv_demux = dv_init_demux(c->dv_fctx); @@ -1049,6 +1050,7 @@ sc->dv_audio_container = 1; st->codec->codec_id = CODEC_ID_PCM_S16LE; break; +#endif default: break; }