mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
simplify
Originally committed as revision 5513 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
cef7cc7232
commit
9e0db7d5aa
6
ffmpeg.c
6
ffmpeg.c
@ -1375,10 +1375,8 @@ static int output_packet(AVInputStream *ist, int ist_index,
|
||||
ret = avcodec_encode_audio(enc, bit_buffer, bit_buffer_size, samples);
|
||||
}
|
||||
enc->frame_size = fs_tmp;
|
||||
if(ret <= 0) {
|
||||
ret = avcodec_encode_audio(enc, bit_buffer, bit_buffer_size, NULL);
|
||||
}
|
||||
} else {
|
||||
}
|
||||
if(ret <= 0) {
|
||||
ret = avcodec_encode_audio(enc, bit_buffer, bit_buffer_size, NULL);
|
||||
}
|
||||
audio_size += ret;
|
||||
|
Loading…
x
Reference in New Issue
Block a user