From f520cf1ba9111610b90fa64500db16ee44d32b7c Mon Sep 17 00:00:00 2001 From: Roman Shaposhnik Date: Sun, 19 Sep 2004 02:57:56 +0000 Subject: [PATCH] * a couple of silly defaults to make everybody happy. Originally committed as revision 3479 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/dv.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/dv.c b/libavformat/dv.c index f7e4d6f..6398f1c 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; -- 2.7.4