changeset 10058:d18468c5fee0 libavcodec

Simplify another 'if' condition: Replace 'exp == 0' by '!exp'.
author diego
date Sat, 15 Aug 2009 11:31:42 +0000
parents cfb009484d2d
children c6ace59701ce
files libschroedingerenc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);