diff options
author | Diego Biurrun <diego@biurrun.de> | 2009-08-15 11:31:42 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2009-08-15 11:31:42 +0000 |
commit | e6cb49bfa99f8700e22334330252c3222c5e40b0 (patch) | |
tree | 6244b154eb1f1f1593eefd1669d0e4e2816631e1 /libavcodec/libschroedingerenc.c | |
parent | bb937155ec5c035865256a86e3659f9aa83fc5ba (diff) | |
download | ffmpeg-e6cb49bfa99f8700e22334330252c3222c5e40b0.tar.gz |
Simplify another 'if' condition: Replace 'exp == 0' by '!exp'.
Originally committed as revision 19650 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/libschroedingerenc.c')
-rw-r--r-- | libavcodec/libschroedingerenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |