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.
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