svc: move spatial layer check out of output_picture
Prevents unnecessary returns from get_picture and fixes wrong return value when a lower spatial level was dropped from output_picture() (0 without a valid picture instead of -EAGAIN).
Prevents unnecessary returns from get_picture and fixes wrong return value when a lower spatial level was dropped from output_picture() (0 without a valid picture instead of -EAGAIN).
VideoLAN code repository instance