Commit 4867c2a6 authored by Rafaël Carré's avatar Rafaël Carré

x265_encoder_headers: account for 0.9 API changes

parent 22d0f70c
......@@ -203,7 +203,7 @@ static int Open (vlc_object_t *p_this)
x265_nal *nal;
uint32_t i_nal;
if (x265_encoder_headers(p_sys->h, &nal, &i_nal)) {
if (x265_encoder_headers(p_sys->h, &nal, &i_nal) < 0) {
msg_Err(p_enc, "cannot get x265 headers");
Close(VLC_OBJECT(p_enc));
return VLC_EGENERIC;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment