mirror of
https://github.com/cookiengineer/audacity
synced 2026-04-01 12:04:49 +02:00
Fix C4456 Warnings.
"C4456 declaration hides previous local declaration." These arise from repeated declarations of the same name.
This commit is contained in:
@@ -806,13 +806,13 @@ bool ExportFFmpeg::EncodeAudioFrame(int16_t *pFrame, size_t frameSize)
|
||||
}
|
||||
|
||||
// Read raw audio samples out of the FIFO in nAudioFrameSizeOut byte-sized groups to encode.
|
||||
while ((ret = av_fifo_size(mEncAudioFifo.get())) >= nAudioFrameSizeOut)
|
||||
while ( av_fifo_size(mEncAudioFifo.get()) >= nAudioFrameSizeOut)
|
||||
{
|
||||
ret = av_fifo_generic_read(mEncAudioFifo.get(), mEncAudioFifoOutBuf.get(), nAudioFrameSizeOut, NULL);
|
||||
|
||||
AVPacketEx pkt;
|
||||
|
||||
int ret= encode_audio(mEncAudioCodecCtx.get(),
|
||||
ret= encode_audio(mEncAudioCodecCtx.get(),
|
||||
&pkt, // out
|
||||
mEncAudioFifoOutBuf.get(), // in
|
||||
default_frame_size);
|
||||
|
||||
Reference in New Issue
Block a user