summaryrefslogtreecommitdiff
path: root/libavcodec/dv.c
diff options
context:
space:
mode:
authorRoman Shaposhnik <roman@shaposhnik.org>2003-03-28 14:05:55 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-03-28 14:05:55 +0000
commitdeb0a292b032e46fd60135985a2453471b6c225b (patch)
tree1cf5a7775721691a941d29fc18418db3a1ff455b /libavcodec/dv.c
parent5bf0135422ffb64e42e00e74923c582b029e146e (diff)
AVI type 1 support patch by (Roman Shaposhnick <rvs at sun dot com>)
Originally committed as revision 1714 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dv.c')
-rw-r--r--libavcodec/dv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/dv.c b/libavcodec/dv.c
index 6d661f4cf4..6f61242478 100644
--- a/libavcodec/dv.c
+++ b/libavcodec/dv.c
@@ -719,6 +719,7 @@ static int dvaudio_decode_frame(AVCodecContext *avctx,
return -1; /* Unsupported quantization */
avctx->sample_rate = dv_audio_frequency[freq];
+ avctx->channels = 2;
// What about:
// avctx->bit_rate =
// avctx->frame_size =