# HG changeset patch # User diego # Date 1250335902 0 # Node ID d18468c5fee0db30729a9dafbfecd71ac49ba448 # Parent cfb009484d2daf3091327e9870481592c0a15bd1 Simplify another 'if' condition: Replace 'exp == 0' by '!exp'. diff -r cfb009484d2d -r d18468c5fee0 libschroedingerenc.c --- a/libschroedingerenc.c Sat Aug 15 11:22:55 2009 +0000 +++ b/libschroedingerenc.c Sat Aug 15 11:31:42 2009 +0000 @@ -261,7 +261,7 @@ 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);