From e6cb49bfa99f8700e22334330252c3222c5e40b0 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Sat, 15 Aug 2009 11:31:42 +0000 Subject: Simplify another 'if' condition: Replace 'exp == 0' by '!exp'. Originally committed as revision 19650 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/libschroedingerenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/libschroedingerenc.c') diff --git a/libavcodec/libschroedingerenc.c b/libavcodec/libschroedingerenc.c index f8fea16150..18bff3ead8 100644 --- a/libavcodec/libschroedingerenc.c +++ b/libavcodec/libschroedingerenc.c @@ -261,7 +261,7 @@ static int libschroedinger_encode_frame(AVCodecContext *avccontext, 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); -- cgit v1.2.3