Commit 7fc7de25 authored by michael's avatar michael

100l


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@2758 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 8f116ab4
...@@ -300,7 +300,7 @@ static int flv_write_packet(AVFormatContext *s, int stream_index, ...@@ -300,7 +300,7 @@ static int flv_write_packet(AVFormatContext *s, int stream_index,
/* copy out mp3 header from ring buffer */ /* copy out mp3 header from ring buffer */
uint8_t header[4]; uint8_t header[4];
for (c=0; c<4; c++) { for (c=0; c<4; c++) {
header[c] = flv->audio_fifo[(flv->audioInPos+c) % AUDIO_FIFO_SIZE]; header[c] = flv->audioFifo[(flv->audioInPos+c) % AUDIO_FIFO_SIZE];
} }
if ( mp3info(header,&mp3FrameSize,&mp3SamplesPerFrame,&mp3SampleRate,&mp3IsMono) ) { if ( mp3info(header,&mp3FrameSize,&mp3SamplesPerFrame,&mp3SampleRate,&mp3IsMono) ) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment