* a couple of silly defaults to make everybody happy.
authorRoman Shaposhnik <roman@shaposhnik.org>
Sun, 19 Sep 2004 02:57:56 +0000 (02:57 +0000)
committerRoman Shaposhnik <roman@shaposhnik.org>
Sun, 19 Sep 2004 02:57:56 +0000 (02:57 +0000)
Originally committed as revision 3479 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/dv.c

index f7e4d6f..6398f1c 100644 (file)
@@ -745,6 +745,8 @@ DVDemuxContext* dv_init_demux(AVFormatContext *s)
     
     c->ast[0]->codec.codec_type = CODEC_TYPE_AUDIO;
     c->ast[0]->codec.codec_id = CODEC_ID_PCM_S16LE;
+    c->ast[0]->codec.sample_rate = 48000;
+    c->ast[0]->codec.channels = 2;
     c->ast[0]->start_time = 0;
     
     return c;