cosmetics: Write NULL pointer equality checks more compactly
Signed-off-by: Diego Biurrun <diego@biurrun.de>
This commit is contained in:

committed by
Diego Biurrun

parent
efd26bedec
commit
f929ab0569
@@ -954,7 +954,7 @@ AVFrame *avcodec_alloc_frame(void)
|
||||
{
|
||||
AVFrame *frame = av_mallocz(sizeof(AVFrame));
|
||||
|
||||
if (frame == NULL)
|
||||
if (!frame)
|
||||
return NULL;
|
||||
|
||||
FF_DISABLE_DEPRECATION_WARNINGS
|
||||
|
Reference in New Issue
Block a user