changeset 525:966b56685500 libavformat

* a couple of silly defaults to make everybody happy.
author romansh
date Sun, 19 Sep 2004 02:57:56 +0000
parents 0b9dfb0cddc8
children c5743d66c5ca
files dv.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dv.c	Sun Sep 19 02:05:22 2004 +0000
+++ b/dv.c	Sun Sep 19 02:57:56 2004 +0000
@@ -745,6 +745,8 @@
     
     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;