aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorRoman Shaposhnik <roman@shaposhnik.org>2004-09-19 02:57:56 +0000
committerRoman Shaposhnik <roman@shaposhnik.org>2004-09-19 02:57:56 +0000
commitf520cf1ba9111610b90fa64500db16ee44d32b7c (patch)
tree063f88945d0f83a01b905ae615516a2d9d79b5af /libavformat
parentc4e554701ec27b31b1b6396130b8bb2aaa0d4ad0 (diff)
downloadffmpeg-f520cf1ba9111610b90fa64500db16ee44d32b7c.tar.gz
* a couple of silly defaults to make everybody happy.
Originally committed as revision 3479 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/dv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/dv.c b/libavformat/dv.c
index f7e4d6f08e..6398f1c427 100644
--- a/libavformat/dv.c
+++ b/libavformat/dv.c
@@ -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;