projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13bd204
)
Bugfix for bug introduced in the multichannel cook patchset.
author
Benjamin Larsson
<banan@ludd.ltu.se>
Fri, 15 May 2009 16:25:54 +0000
(16:25 +0000)
committer
Benjamin Larsson
<banan@ludd.ltu.se>
Fri, 15 May 2009 16:25:54 +0000
(16:25 +0000)
Originally committed as revision 18842 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/cook.c
patch
|
blob
|
history
diff --git
a/libavcodec/cook.c
b/libavcodec/cook.c
index
a33222b
..
fa9dc2b
100644
(file)
--- a/
libavcodec/cook.c
+++ b/
libavcodec/cook.c
@@
-1141,9
+1141,10
@@
static av_cold int cook_decode_init(AVCodecContext *avctx)
av_log(avctx,AV_LOG_DEBUG,"MONO\n");
break;
case STEREO:
- if (q->nb_channels != 1)
+ if (q->nb_channels != 1)
{
q->subpacket[s].bits_per_subpdiv = 1;
- q->subpacket[s].num_channels = 2;
+ q->subpacket[s].num_channels = 2;
+ }
av_log(avctx,AV_LOG_DEBUG,"STEREO\n");
break;
case JOINT_STEREO: