We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f0496a commit 4e4e2f0Copy full SHA for 4e4e2f0
encode/h264encode.c
@@ -1165,6 +1165,7 @@ static int init_va(void)
1165
/* check the interested configattrib */
1166
if ((attrib[VAConfigAttribRTFormat].value & VA_RT_FORMAT_YUV420) == 0) {
1167
printf("Not find desired YUV420 RT format\n");
1168
+ free(entrypoints);
1169
exit(1);
1170
} else {
1171
config_attrib[config_attrib_num].type = VAConfigAttribRTFormat;
0 commit comments