1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00
Originally committed as revision 7409 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Baptiste Coudurier 2007-01-05 14:23:13 +00:00
parent 17230c9d4d
commit e943369fd4

View File

@ -831,10 +831,7 @@ static int swf_read_header(AVFormatContext *s, AVFormatParameters *ap)
return -ENOMEM;
av_set_pts_info(ast, 24, 1, 1000); /* 24 bit pts in ms */
if (v & 0x01)
ast->codec->channels = 2;
else
ast->codec->channels = 1;
ast->codec->channels = 1 + (v&1);
switch((v>> 2) & 0x03) {
case 1: