Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-08-15 15:31:42 +0400
committerDiego Biurrun <diego@biurrun.de>2009-08-15 15:31:42 +0400
commite6cb49bfa99f8700e22334330252c3222c5e40b0 (patch)
tree6244b154eb1f1f1593eefd1669d0e4e2816631e1 /libavcodec/libschroedingerenc.c
parentbb937155ec5c035865256a86e3659f9aa83fc5ba (diff)
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.c2
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);