projects
/
libav.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Simplify another 'if' condition: Replace 'exp == 0' by '!exp'.
[libav.git]
/
libavcodec
/
libschroedingerenc.c
diff --git
a/libavcodec/libschroedingerenc.c
b/libavcodec/libschroedingerenc.c
index
f8fea16
..
18bff3e
100644
(file)
--- 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);