Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
libvdp-pesi
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
uplex-varnish
libvdp-pesi
Commits
afa3dd16
Unverified
Commit
afa3dd16
authored
Nov 19, 2024
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Handle VDP_Push() errors from vdp_pesi_init
Closes #22
parent
10388ec0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
vdp_pesi.c
src/vdp_pesi.c
+8
-2
No files found.
src/vdp_pesi.c
View file @
afa3dd16
...
...
@@ -695,7 +695,10 @@ vdp_pesi_init(VRT_CTX, struct vdp_ctx *vdc, void **priv)
#ifdef DEBUG_PESI_WS
pesi
->
ws_snap
=
WS_Snapshot
(
req
->
ws
);
#endif
AZ
(
VDP_Push
(
ctx
,
req
->
vdc
,
req
->
ws
,
&
VDP_pesi_buf
,
pesi
));
if
(
VDP_Push
(
ctx
,
req
->
vdc
,
req
->
ws
,
&
VDP_pesi_buf
,
pesi
))
{
return
(
init_err
(
req
->
vsl
,
"VDP_Push(VDP_pesi_buf) failed "
"(likely insufficient workspace)"
));
}
return
(
0
);
}
...
...
@@ -738,7 +741,10 @@ vdp_pesi_init(VRT_CTX, struct vdp_ctx *vdc, void **priv)
AZ
(
pecx
->
state
);
AZ
(
pesi
->
woken
);
AZ
(
VDP_Push
(
ctx
,
req
->
vdc
,
req
->
ws
,
&
VDP_pesi_buf
,
pesi
));
if
(
VDP_Push
(
ctx
,
req
->
vdc
,
req
->
ws
,
&
VDP_pesi_buf
,
pesi
))
{
return
(
init_err
(
req
->
vsl
,
"VDP_Push(VDP_pesi_buf) failed "
"(likely insufficient workspace)"
));
}
#ifdef DEBUG_PESI_WS
pesi
->
ws_snap
=
WS_Snapshot
(
req
->
ws
);
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment