mirror of https://git.ffmpeg.org/ffmpeg.git
100l
Originally committed as revision 2758 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
d3e18ad027
commit
2d9aa1e3a2
|
@ -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) ) {
|
||||||
|
|
Loading…
Reference in New Issue