vlc-thumb: fix error handling
If the thumbnail fails, the returned picture is NULL. It is handled that way in the snapshot() function. But libvlc_picture_retain() doesn't handle NULL pictures.
Loading
Please register or sign in to comment
If the thumbnail fails, the returned picture is NULL. It is handled that way in the snapshot() function. But libvlc_picture_retain() doesn't handle NULL pictures.
VideoLAN code repository instance