mirror of
https://github.com/mpv-player/mpv
synced 2024-12-29 02:22:19 +00:00
ad_spdif: add an assert for lavf_ctx
To suppress forward null warning.
This commit is contained in:
parent
3840c98b36
commit
3b3604e162
@ -331,6 +331,7 @@ static void ad_spdif_process(struct mp_filter *da)
|
||||
if (init_filter(da) < 0)
|
||||
goto done;
|
||||
assert(spdif_ctx->avpkt);
|
||||
assert(spdif_ctx->lavf_ctx);
|
||||
}
|
||||
|
||||
spdif_ctx->out_buffer_len = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user