Browse Source

fix sound of SampleVideo.mov (mp2 in mov)

Originally committed as revision 6191 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 19 years ago
parent
commit
a41104f86a
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      libavformat/mov.c

+ 3
- 0
libavformat/mov.c View File

@@ -1065,6 +1065,9 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
st->codec->sample_rate= 8000;
st->codec->channels= 1; /* really needed */
break;
case CODEC_ID_MP2:
st->need_parsing = 1;
break;
default:
break;
}


Loading…
Cancel
Save