[FFmpeg-cvslog] r19650 - trunk/libavcodec/libschroedingerenc.c
diego
subversion
Sat Aug 15 13:31:42 CEST 2009
Author: diego
Date: Sat Aug 15 13:31:42 2009
New Revision: 19650
Log:
Simplify another 'if' condition: Replace 'exp == 0' by '!exp'.
Modified:
trunk/libavcodec/libschroedingerenc.c
Modified: trunk/libavcodec/libschroedingerenc.c
==============================================================================
--- trunk/libavcodec/libschroedingerenc.c Sat Aug 15 13:22:55 2009 (r19649)
+++ trunk/libavcodec/libschroedingerenc.c Sat Aug 15 13:31:42 2009 (r19650)
@@ -261,7 +261,7 @@ static int libschroedinger_encode_frame(
int parse_code;
int last_frame_in_sequence = 0;
- if(data == NULL) {
+ if (!data) {
/* Push end of sequence if not already signalled. */
if (!p_schro_params->eos_signalled) {
schro_encoder_end_of_stream(encoder);
More information about the ffmpeg-cvslog
mailing list