xvba_video_glx.c: split check in transfer_surface.
The boolean operator || requires an evaluation of both expressions. If the expressions evaluates pointers, then care must be taken that both expressions have valid pointer. In this case it cannot be guaranteed, thus splitting the check is needed.
Showing
Please register or sign in to comment