[Ffmpeg-cvslog] r5513 - trunk/ffmpeg.c
michael
subversion
Sat Jun 24 11:57:28 CEST 2006
Author: michael
Date: Sat Jun 24 11:57:28 2006
New Revision: 5513
Modified:
trunk/ffmpeg.c
Log:
simplify
Modified: trunk/ffmpeg.c
==============================================================================
--- trunk/ffmpeg.c (original)
+++ trunk/ffmpeg.c Sat Jun 24 11:57:28 2006
@@ -1375,10 +1375,8 @@
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;
More information about the ffmpeg-cvslog
mailing list