mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 11:49:48 +00:00
Simplify another 'if' condition: Replace 'exp == 0' by '!exp'.
Originally committed as revision 19650 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
bb937155ec
commit
e6cb49bfa9
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user