diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2006-08-24 08:32:52 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2006-08-24 08:32:52 +0000 |
commit | 989ac5a685a3fb5a038d050dc66f0c8621886d76 (patch) | |
tree | 053c3249f25122ece29850ab4771e1889690f6b4 /libavformat/mov.c | |
parent | b60c04547c9b59685d4cdc09d85efcf750978f60 (diff) | |
download | ffmpeg-989ac5a685a3fb5a038d050dc66f0c8621886d76.tar.gz |
put dv demuxing code around ifdef
Originally committed as revision 6065 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r-- | libavformat/mov.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index c74feec804..cb28dbbcef 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -1039,6 +1039,7 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom) 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 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom) sc->dv_audio_container = 1; st->codec->codec_id = CODEC_ID_PCM_S16LE; break; +#endif default: break; } |