dvdplayer: fix segfault caused by ffmpeg having references to deleted hw decoder