mirror of
https://github.com/mpv-player/mpv
synced 2024-12-30 11:02:10 +00:00
dec_video: fix bogus assert
Basically a typo. Made playing ordered chapters crash.
This commit is contained in:
parent
75e6584ab3
commit
9e85d2ac13
@ -192,7 +192,7 @@ void uninit_video(sh_video_t *sh_video)
|
||||
|
||||
static int init_video_codec(sh_video_t *sh_video, const char *decoder)
|
||||
{
|
||||
assert(!sh_video->vf_initialized);
|
||||
assert(!sh_video->initialized);
|
||||
|
||||
if (!sh_video->vd_driver->init(sh_video, decoder)) {
|
||||
mp_tmsg(MSGT_DECVIDEO, MSGL_V, "Video decoder init failed.\n");
|
||||
|
Loading…
Reference in New Issue
Block a user